mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 09:11:06 +00:00
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:
parent
9fcea8629e
commit
d46f19e7ae
3 changed files with 69 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
===============
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue