mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-04-22 17:00:53 +00:00
Tried to fix some more splint warnings
This commit is contained in:
parent
555cb0d5cf
commit
3ade06cffd
1 changed files with 5 additions and 3 deletions
|
@ -2735,11 +2735,13 @@ void G_RunFrame( int levelTime ) {
|
|||
client->pressedUse = qfalse;
|
||||
}
|
||||
|
||||
if (g_classData[client->sess.sessionClass].isn00b)
|
||||
if (g_classData[client->sess.sessionClass].isn00b == qtrue)
|
||||
{
|
||||
if ((client->n00bTime != -1) && (client->n00bTime <= level.time) && client->origClass[0] != 0)
|
||||
if ((client->n00bTime != -1) && (client->n00bTime <= level.time) && client->origClass)
|
||||
{
|
||||
SetClass( ent, client->origClass, NULL, qtrue );
|
||||
if(!SetClass( ent, client->origClass, NULL, qtrue )) {
|
||||
DEVELOPER(G_Printf(S_COLOR_YELLOW "G_RunFrame - Warning: SetClass failed!\n"););
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue