Browse Source

fix syntax error

bot10-yggverse bot10-yggverse-1.1.2
ghost 11 months ago
parent
commit
4f20b06847
  1. 3
      dlls/client.cpp

3
dlls/client.cpp

@ -1374,7 +1374,7 @@ void StartFrame( void )
{ {
if( !bot_respawn[i].is_used && if( !bot_respawn[i].is_used &&
bot_respawn[i].state == BOT_NEED_TO_RESPAWN && bot_respawn[i].state == BOT_NEED_TO_RESPAWN &&
gpGlobals->time >= respawn_time) gpGlobals->time >= respawn_time )
{ {
bot_respawn[i].state = BOT_IS_RESPAWNING; bot_respawn[i].state = BOT_IS_RESPAWNING;
bot_respawn[i].is_used = FALSE; // free up this slot bot_respawn[i].is_used = FALSE; // free up this slot
@ -1387,7 +1387,6 @@ void StartFrame( void )
} }
} }
} }
}
previous_time = gpGlobals->time; // keep track of last time in StartFrame() previous_time = gpGlobals->time; // keep track of last time in StartFrame()
// END BOT // END BOT

Loading…
Cancel
Save