basic image thumbnail display in menu

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3258 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-25 19:22:53 +00:00
parent 319a704ad1
commit 37fcb1ae6e
3 changed files with 64 additions and 6 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ void loadcrosshair(char *c, char *w)
{
int weapon = atoi(w);
if(weapon>NUMGUNS) return;
if(weapon<0 || strlen(w)==0) defaultcrosshair = loadcrosshairtexture(c);
if(weapon<0 || !w[0]) defaultcrosshair = loadcrosshairtexture(c);
else crosshairs[weapon] = loadcrosshairtexture(c);
}