mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-01-03 16:13:40 +08:00
Update Hooks.hpp
This commit is contained in:
parent
3507047808
commit
0780777688
@ -446,6 +446,8 @@ bool __stdcall hkCreateMove(float frame_time, CUserCmd* pCmd)
|
||||
|
||||
bool interval = !((pCmd->tick_count + 1) % 10);
|
||||
|
||||
if (g_Options.faststop)
|
||||
fastStop(localplayer, pre_flags, pCmd);
|
||||
if (g_Options.slidewalk)
|
||||
pCmd->buttons ^= IN_FORWARD | IN_BACK | IN_MOVELEFT | IN_MOVERIGHT;
|
||||
if (g_Options.fastduck)
|
||||
@ -539,8 +541,6 @@ bool __stdcall hkCreateMove(float frame_time, CUserCmd* pCmd)
|
||||
if (isSomeoneSpectatingYou) ShowMenu(spectatorList);
|
||||
}
|
||||
|
||||
if (g_Options.faststop)
|
||||
fastStop(localplayer, pre_flags, pCmd);
|
||||
|
||||
|
||||
/*
|
||||
@ -548,18 +548,15 @@ bool __stdcall hkCreateMove(float frame_time, CUserCmd* pCmd)
|
||||
{
|
||||
prediction::start(pCmd, localplayer);
|
||||
|
||||
/*
|
||||
if (iff.g_pInputSystem->IsButtonDown(KEY_SPACE) && !(pre_flags & FL_ONGROUND) && (localplayer->GetFlags() & FL_ONGROUND))//predicting that we're gonna hit the ground
|
||||
{
|
||||
pCmd->buttons |= IN_DUCK;
|
||||
pCmd->buttons &= IN_JUMP;
|
||||
}
|
||||
|
||||
|
||||
prediction::end(localplayer);
|
||||
}
|
||||
|
||||
//*/
|
||||
*/
|
||||
|
||||
|
||||
pCmd->viewangles.Clamp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user