Changeset 61:f376619f1e1e

Show
Ignore:
Timestamp:
01/14/08 20:39:04 (3 years ago)
Author:
mdoison
Branch:
default
convert_revision:
svn:7c786126-522e-0410-a822-d6d8feae56ca/trunk@192
Message:

Fix a warning in src/ui/ui_players.c:1197: warning: the address of 'headModelName' will always evaluate as 'true'

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ui/ui_players.c

    r0 r61  
    11951195  } 
    11961196 
    1197   if (headModelName && headModelName[0] == '*' ) { 
     1197  if (headModelName[0] == '*' ) { 
    11981198    Com_sprintf( filename, sizeof( filename ), "models/players/heads/%s/%s.md3", &headModelName[1], &headModelName[1] ); 
    11991199  }