|
|
|
@ -417,6 +417,11 @@ void CPlayerMove::RunCommand ( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper
@@ -417,6 +417,11 @@ void CPlayerMove::RunCommand ( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper
|
|
|
|
|
player->pl.v_angle = ucmd->viewangles + player->pl.anglechange; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Let server invoke any needed impact functions
|
|
|
|
|
VPROF_SCOPE_BEGIN( "moveHelper->ProcessImpacts" ); |
|
|
|
|
moveHelper->ProcessImpacts(); |
|
|
|
|
VPROF_SCOPE_END(); |
|
|
|
|
|
|
|
|
|
// Call standard client pre-think
|
|
|
|
|
RunPreThink( player ); |
|
|
|
|
|
|
|
|
@ -442,11 +447,6 @@ void CPlayerMove::RunCommand ( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper
@@ -442,11 +447,6 @@ void CPlayerMove::RunCommand ( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper
|
|
|
|
|
// Copy output
|
|
|
|
|
FinishMove( player, ucmd, g_pMoveData ); |
|
|
|
|
|
|
|
|
|
// Let server invoke any needed impact functions
|
|
|
|
|
VPROF_SCOPE_BEGIN( "moveHelper->ProcessImpacts" ); |
|
|
|
|
moveHelper->ProcessImpacts(); |
|
|
|
|
VPROF_SCOPE_END(); |
|
|
|
|
|
|
|
|
|
RunPostThink( player ); |
|
|
|
|
|
|
|
|
|
g_pGameMovement->FinishTrackPredictionErrors( player ); |
|
|
|
|