From 23231c7cafb3828b251168ca284c35ef111830be Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 7 Nov 2006 16:57:46 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@524 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/rendertext.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/src/rendertext.cpp b/source/src/rendertext.cpp index d1c1caf1..1c703c6d 100644 --- a/source/src/rendertext.cpp +++ b/source/src/rendertext.cpp @@ -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);