*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@524 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-07 16:57:46 +00:00
parent b26846df05
commit 23231c7caf
+1 -4
View File
@@ -189,16 +189,13 @@ static Texture *sky[6] = {NULL, NULL, NULL, NULL, NULL, NULL};
void loadsky(char *basename)
{
static string lastsky = "";
if(strcmp(lastsky, basename)==0) return;
char *side[] = { "ft", "bk", "lf", "rt", "dn", "up" };
loopi(6)
{
s_sprintfd(name)("packages/%s_%s.jpg", basename, side[i]);
sky[i] = textureload(name, true);
if(!sky[i]) conoutf("could not load sky textures");
if(!sky[i]) conoutf("could not load sky texture: %s", name);
};
s_strcpy(lastsky, basename);
};
COMMAND(loadsky, ARG_1STR);