mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
- fixed BrainishExplosion and removed some unnecessary checks, the state to be set is being defined in the same file, after all...
This commit is contained in:
parent
88fd47247d
commit
5e76d3af18
1 changed files with 5 additions and 6 deletions
|
@ -162,14 +162,13 @@ extend class Actor
|
|||
boom.DeathSound = "misc/brainexplode";
|
||||
boom.Vel.z = random[BrainScream](0, 255)/128.;
|
||||
|
||||
State stt = "BossBrain::Brainexplode";
|
||||
if (stt) boom.SetState (stt);
|
||||
}
|
||||
boom.SetState ("BossBrain::Brainexplode");
|
||||
boom.bRocketTrail = false;
|
||||
boom.SetDamage(0); // disables collision detection which is not wanted here
|
||||
boom.tics -= random[BrainScream](0, 7);
|
||||
if (boom.tics < 1) boom.tics = 1;
|
||||
}
|
||||
}
|
||||
|
||||
void A_BrainScream()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue