Fix crash,adjusting tomorrow
This commit is contained in:
parent
70df24a332
commit
e9759831ac
@ -305,8 +305,6 @@ void DoResistSwitching()
|
||||
}
|
||||
|
||||
int force_healing_target{ 0 };
|
||||
|
||||
static CatVar heal_steamid_perm(CV_SWITCH, "autoheal_steamid_only", 0, "Only heal target with steamid, set steamid to 0 to reset. (this does NOT set the target, it only sets it to never not heal the target set in \"autoheal_steam_id\".)");
|
||||
static CatCommand heal_steamid(
|
||||
"autoheal_heal_steamid",
|
||||
"Heals a player with SteamID (ONCE. Use for easy airstuck med setup)",
|
||||
@ -420,8 +418,7 @@ void CreateMove()
|
||||
GetHitbox(target, 7, out);
|
||||
AimAt(g_pLocalPlayer->v_Eye, out, g_pUserCmd);
|
||||
g_pUserCmd->buttons |= IN_ATTACK;
|
||||
if (!heal_steamid_perm)
|
||||
force_healing_target = 0;
|
||||
force_healing_target = 0;
|
||||
}
|
||||
}
|
||||
if (!enabled)
|
||||
|
Reference in New Issue
Block a user