mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 05:45:36 +03:00
register_impulse fix
This commit is contained in:
parent
269a0e4305
commit
891be11032
@ -131,7 +131,10 @@ void CmdStart(const edict_t *player, const struct usercmd_s *_cmd, unsigned int
|
||||
{
|
||||
retVal = MF_ExecuteForward(Impulses[i]->Forward, ENTINDEX(pEntity));
|
||||
if (retVal)
|
||||
{
|
||||
g_cmd->impulse=0;
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
}
|
||||
else
|
||||
RETURN_META(MRES_IGNORED);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user