- Blood: Fix max weapons slot test preventing slot 12 from being called.

* Fixes #891.
This commit is contained in:
Mitchell Richters 2023-03-14 20:13:47 +11:00
parent a90665732c
commit 016016b7ab

View file

@ -421,7 +421,7 @@ void GameInterface::Ticker()
inp.actions |= oldactions & ~(SB_BUTTON_MASK | SB_RUN | SB_WEAPONMASK_BITS); // should be everything non-button and non-weapon
int newweap = inp.getNewWeapon();
if (newweap > 0 && newweap < WeaponSel_MaxBlood) gPlayer[i].newWeapon = newweap;
if (newweap > 0 && newweap <= WeaponSel_MaxBlood) gPlayer[i].newWeapon = newweap;
}
BloodSpriteIterator it;