~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/tron/gGame.cpp

  • Committer: SwagTron
  • Date: 2019-07-24 09:40:48 UTC
  • Revision ID: swagtron-20190724094048-p46jk4d31rx75ycm
Made respawn commands and the teleport command server only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4212
4212
#endif
4213
4213
 
4214
4214
#ifdef RESPAWN_HACK
 
4215
if (sn_GetNetState()!=nCLIENT)
 
4216
{
4215
4217
    // no respawining while deathzone is active.
4216
4218
    if( !winDeathZone_)
4217
4219
    {
4223
4225
        sg_RespawnAll(grid,Arena,respawn_all);
4224
4226
        respawn_all = false;
4225
4227
    }
 
4228
}
4226
4229
#endif
4227
4230
 
4228
4231
    // chop timestep into small, managable bits