mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-27 06:22:13 +00:00
- added back WT's fireball's postHitEffect.
This somehow got lost during scriptification.
This commit is contained in:
parent
58ee80564b
commit
d7224245e3
1 changed files with 14 additions and 0 deletions
|
@ -714,6 +714,20 @@ class DukeFireball : DukeProjectile // WorldTour only
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
override void posthiteffect(CollisionData coll)
|
||||
{
|
||||
if (self.detail != 1)
|
||||
{
|
||||
let spawned = self.spawn('DukeExplosion2');
|
||||
if (spawned)
|
||||
{
|
||||
let scale = self.scale.X * 0.5;
|
||||
spawned.scale = (scale,scale);
|
||||
}
|
||||
}
|
||||
Super.postHitEffect(coll);
|
||||
}
|
||||
|
||||
override bool animate(tspritetype tspr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue