mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
Revert "game: fixes some player's origin displacements for fire events, impulses commands etc... (ValveSoftware/source-sdk-2013#442)"
This reverts commit 2e969d3890
.
This commit is contained in:
parent
c0472cccbf
commit
53ed9e3bd8
@ -903,10 +903,10 @@ void CPrediction::RunCommand( C_BasePlayer *player, CUserCmd *ucmd, IMoveHelper
|
||||
pVehicle->ProcessMovement( player, g_pMoveData );
|
||||
}
|
||||
|
||||
RunPostThink( player );
|
||||
|
||||
FinishMove( player, ucmd, g_pMoveData );
|
||||
|
||||
RunPostThink( player );
|
||||
|
||||
g_pGameMovement->FinishTrackPredictionErrors( player );
|
||||
|
||||
FinishCommand( player );
|
||||
|
@ -417,11 +417,6 @@ 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 );
|
||||
|
||||
@ -447,6 +442,11 @@ 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 );
|
||||
|
Loading…
Reference in New Issue
Block a user