Add "overloaded" impulse command (e.g. impulse 5 4 1) --- a hack that

only works correctly in standard deathmatch but may be useful in TF too
This commit is contained in:
Anton E. Gavrilov 2000-08-22 17:53:48 +00:00
parent 9fcea8629e
commit d46f19e7ae
3 changed files with 69 additions and 1 deletions

View file

@ -181,7 +181,14 @@ void IN_UseUp (void) {KeyUp(&in_use);}
void IN_JumpDown (void) {KeyDown(&in_jump);}
void IN_JumpUp (void) {KeyUp(&in_jump);}
void IN_Impulse (void) {in_impulse=atoi(Cmd_Argv(1));}
void IN_Impulse (void)
{
in_impulse= atoi(Cmd_Argv(1));
if (Cmd_Argc() <= 2)
return;
CL_BestWeaponImpulse(); // HACK HACK HACK
}
/*
===============