fix a crash with spectator aimbot
This commit is contained in:
parent
23436c0778
commit
f401dec044
@ -237,11 +237,11 @@ static void CreateMove()
|
||||
slow_aim = *normal_slow_aim;
|
||||
fov = *normal_fov;
|
||||
|
||||
spectatorUpdate();
|
||||
|
||||
if (CE_BAD(LOCAL_E) || !LOCAL_E->m_bAlivePlayer() || CE_BAD(LOCAL_W))
|
||||
enable = false;
|
||||
|
||||
spectatorUpdate();
|
||||
|
||||
if (!enable)
|
||||
{
|
||||
target_last = nullptr;
|
||||
|
Reference in New Issue
Block a user