register_impulse fix

This commit is contained in:
Steve Dudenhoeffer 2004-08-26 18:58:46 +00:00
parent 269a0e4305
commit 891be11032

View File

@ -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);
}