mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +00:00
input.newWeapon -> newWeapon
This commit is contained in:
parent
1a344fe09b
commit
715bca4d53
1 changed files with 2 additions and 2 deletions
|
@ -731,7 +731,7 @@ void WeaponLower(PLAYER *pPlayer)
|
|||
}
|
||||
break;
|
||||
case 7: // throwing ignited alt fire spray
|
||||
if (VanillaMode() || DemoRecordStatus() || (pPlayer->input.newWeapon != 0))
|
||||
if (VanillaMode() || DemoRecordStatus() || (pPlayer->newWeapon != 0))
|
||||
break;
|
||||
pPlayer->weaponState = 1;
|
||||
StartQAV(pPlayer, 11, -1, 0);
|
||||
|
@ -742,7 +742,7 @@ void WeaponLower(PLAYER *pPlayer)
|
|||
switch (prevState)
|
||||
{
|
||||
case 1:
|
||||
if (!VanillaMode() && (pPlayer->input.newWeapon == 7)) // do not put away lighter if TNT was selected while throwing a spray can
|
||||
if (!VanillaMode() && (pPlayer->newWeapon == 7)) // do not put away lighter if TNT was selected while throwing a spray can
|
||||
{
|
||||
pPlayer->weaponState = 2;
|
||||
StartQAV(pPlayer, 17, -1, 0);
|
||||
|
|
Loading…
Reference in a new issue