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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user