mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +00:00
- 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)
This commit is contained in:
parent
111b5c60c1
commit
ef55ce8684
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue