From 528eb0ea9aaf07eef08984ea1d018c097399ee90 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 16 Mar 2023 15:50:52 +1100 Subject: [PATCH] - Blood: Fix state checks when using TNT while diving underwater. * A mess of bloody proportions... * Originates from d30c94c70998417422f201b2e5c3b536a075538b. * Fixes #878. --- source/games/blood/src/weapon.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/games/blood/src/weapon.cpp b/source/games/blood/src/weapon.cpp index efcd8d968..16786f05e 100644 --- a/source/games/blood/src/weapon.cpp +++ b/source/games/blood/src/weapon.cpp @@ -862,6 +862,7 @@ void WeaponLower(PLAYER* pPlayer) } else { + pPlayer->weaponState = 1; StartQAV(pPlayer, kQAVBUNDOWN2); } break; @@ -2400,7 +2401,7 @@ void WeaponProcess(PLAYER* pPlayer) { { pPlayer->fuseTime = pPlayer->weaponTimer; DropBundle(1, pPlayer); - pPlayer->weaponState = 1; + pPlayer->weaponState = 3; } } WeaponLower(pPlayer);