Fixed planting bomb
This commit is contained in:
parent
b750f22f08
commit
a54eabf77a
2 changed files with 4 additions and 3 deletions
|
@ -882,8 +882,6 @@ void CPrediction::RunCommand( C_BasePlayer *player, CUserCmd *ucmd, IMoveHelper
|
||||||
Q_snprintf( sz, sizeof( sz ), "runcommand%04d", ucmd->command_number );
|
Q_snprintf( sz, sizeof( sz ), "runcommand%04d", ucmd->command_number );
|
||||||
PREDICTION_TRACKVALUECHANGESCOPE( sz );
|
PREDICTION_TRACKVALUECHANGESCOPE( sz );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
StartCommand( player, ucmd );
|
|
||||||
|
|
||||||
g_pGameMovement->StartTrackPredictionErrors( player );
|
g_pGameMovement->StartTrackPredictionErrors( player );
|
||||||
|
|
||||||
|
@ -895,6 +893,8 @@ void CPrediction::RunCommand( C_BasePlayer *player, CUserCmd *ucmd, IMoveHelper
|
||||||
|
|
||||||
gpGlobals->curtime = player->m_nTickBase * TICK_INTERVAL;
|
gpGlobals->curtime = player->m_nTickBase * TICK_INTERVAL;
|
||||||
|
|
||||||
|
StartCommand( player, ucmd );
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
// TODO: Check for impulse predicted?
|
// TODO: Check for impulse predicted?
|
||||||
|
|
||||||
|
|
|
@ -336,7 +336,6 @@ void CPlayerMove::RunCommand ( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper
|
||||||
return; // Don't process this command
|
return; // Don't process this command
|
||||||
}
|
}
|
||||||
|
|
||||||
StartCommand( player, ucmd );
|
|
||||||
|
|
||||||
g_pGameMovement->StartTrackPredictionErrors( player );
|
g_pGameMovement->StartTrackPredictionErrors( player );
|
||||||
|
|
||||||
|
@ -346,6 +345,8 @@ void CPlayerMove::RunCommand ( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper
|
||||||
// Run post think first, this will let some space for client side interpolation.
|
// Run post think first, this will let some space for client side interpolation.
|
||||||
RunPostThink( player );
|
RunPostThink( player );
|
||||||
|
|
||||||
|
StartCommand( player, ucmd );
|
||||||
|
|
||||||
// Set globals appropriately
|
// Set globals appropriately
|
||||||
gpGlobals->curtime = player->m_nTickBase * TICK_INTERVAL;
|
gpGlobals->curtime = player->m_nTickBase * TICK_INTERVAL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue