mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +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,13 +162,12 @@ 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;
|
||||
}
|
||||
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