Skip to content

Commit

Permalink
remove ValveSoftware/source-sdk-2013#442 due to grappling beam bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitl committed Mar 31, 2022
1 parent 3b26616 commit 527fd01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions sp/src/game/client/prediction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,9 @@ void CPrediction::RunCommand( C_BasePlayer *player, CUserCmd *ucmd, IMoveHelper
pVehicle->ProcessMovement( player, g_pMoveData );
}

RunPostThink( player );
FinishMove( player, ucmd, g_pMoveData );

FinishMove(player, ucmd, g_pMoveData);
RunPostThink( player );

g_pGameMovement->FinishTrackPredictionErrors( player );

Expand Down
16 changes: 8 additions & 8 deletions sp/src/game/server/player_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand All @@ -443,12 +438,17 @@ void CPlayerMove::RunCommand ( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper
VPROF( "pVehicle->ProcessMovement()" );
pVehicle->ProcessMovement( player, g_pMoveData );
}

RunPostThink(player);


// 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 );

FinishCommand( player );
Expand Down

0 comments on commit 527fd01

Please sign in to comment.