From ef55ce8684eee1cd79cf78876837727394386ebc Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 1 Sep 2012 22:39:11 +0000 Subject: [PATCH] - Fixed: P_SpawnBlood() would set Strife's Blood to the Spray state and then promptly go about setting it right back to the Spawn state. SVN r3862 (trunk) --- src/p_mobj.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 7e863a825..6c0cd4973 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -4839,13 +4839,16 @@ void P_SpawnBlood (fixed_t x, fixed_t y, fixed_t z, angle_t dir, int damage, AAc // Moved out of the blood actor so that replacing blood is easier if (gameinfo.gametype & GAME_DoomStrifeChex) { - FState *state = th->FindState(NAME_Spray); if (gameinfo.gametype == GAME_Strife) { if (damage > 13) { FState *state = th->FindState(NAME_Spray); - if (state != NULL) th->SetState (state); + if (state != NULL) + { + th->SetState (state); + goto statedone; + } } else damage += 2; }