Fix bhop with enginepred

This commit is contained in:
TotallyNotElite 2018-12-18 16:48:09 +01:00
parent 2d7da418c4
commit a3f58e027f

View File

@ -302,12 +302,12 @@ DEFINE_HOOKED_METHOD(CreateMove, bool, void *this_, float input_sample_time, CUs
PROF_SECTION(CM_deadringer);
hacks::shared::deadringer::CreateMove();
}
if (engine_pred)
engine_prediction::RunEnginePrediction(RAW_ENT(LOCAL_E), current_user_cmd);
{
PROF_SECTION(CM_bunnyhop);
hacks::shared::bunnyhop::CreateMove();
}
if (engine_pred)
engine_prediction::RunEnginePrediction(RAW_ENT(LOCAL_E), current_user_cmd);
{
PROF_SECTION(CM_backtracc);
hacks::shared::backtrack::Run();