r1117 - trunk/code/ui
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Jul 19 04:10:37 EDT 2007
Author: ludwig
Date: 2007-07-19 04:10:32 -0400 (Thu, 19 Jul 2007)
New Revision: 1117
Modified:
trunk/code/ui/ui_players.c
Log:
the address of 'headModelName' will always evaluate as 'true'
Modified: trunk/code/ui/ui_players.c
===================================================================
--- trunk/code/ui/ui_players.c 2007-07-19 08:05:50 UTC (rev 1116)
+++ trunk/code/ui/ui_players.c 2007-07-19 08:10:32 UTC (rev 1117)
@@ -1204,7 +1204,7 @@
}
}
- if (headModelName && headModelName[0] == '*' ) {
+ if (headModelName[0] == '*' ) {
Com_sprintf( filename, sizeof( filename ), "models/players/heads/%s/%s.md3", &headModelName[1], &headModelName[1] );
}
else {
More information about the quake3-commits
mailing list