mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 05:00:41 +00:00
- Blood: Backport GDX fix for lighter just appearing when switching to the aerosol.
* Fixes #564. * Thanks to @carnivoroussociety for the heads up.
This commit is contained in:
parent
5a9978a27b
commit
df88b23f63
1 changed files with 8 additions and 0 deletions
|
@ -836,6 +836,14 @@ void WeaponLower(PLAYER *pPlayer)
|
|||
}
|
||||
pPlayer->curWeapon = kWeapNone;
|
||||
pPlayer->qavLoop = 0;
|
||||
|
||||
// BloodGDX fix for aerosol lighter just appearing when switching to it.
|
||||
// https://gitlab.com/m210/BloodGDX/-/commit/bea4dedd0c429eb9639333165b6f656483c9a7f7
|
||||
if(!VanillaMode() && pPlayer->curWeapon != kWeapDynamite)
|
||||
{
|
||||
pPlayer->weaponState = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void WeaponUpdateState(PLAYER *pPlayer)
|
||||
|
|
Loading…
Reference in a new issue