Don't mind this
This commit is contained in:
parent
40f1f208c0
commit
9e2ea1ef7e
2 changed files with 3 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ Class EvisceratorChunkLight : DynamicLight
|
|||
override void Tick()
|
||||
{
|
||||
Super.Tick();
|
||||
if ( !target )
|
||||
if ( !EvisceratorChunk(target) || EvisceratorChunk(target).justdied )
|
||||
{
|
||||
Destroy();
|
||||
return;
|
||||
|
|
@ -98,7 +98,6 @@ Class EvisceratorChunk : Actor
|
|||
+DONTBOUNCEONSKY;
|
||||
+CANBOUNCEWATER;
|
||||
+INTERPOLATEANGLES;
|
||||
+HITTRACER;
|
||||
+ROLLSPRITE;
|
||||
+ROLLCENTER;
|
||||
Scale 0.4;
|
||||
|
|
@ -135,7 +134,7 @@ Class EvisceratorChunk : Actor
|
|||
A_SetTranslation(tls[clamp(int(lifetime*10),0,7)]);
|
||||
if ( !Random[Eviscerator](0,3) && (lifetime < .7) )
|
||||
{
|
||||
let s = Spawn("SWWMSmoke",pos);
|
||||
let s = Spawn("SWWMHalfSmoke",pos);
|
||||
s.vel = .2*vel+(FRandom[Eviscerator](-.1,.1),FRandom[Eviscerator](-.1,.1),FRandom[Eviscerator](-.1,.1));
|
||||
s.scale *= .5;
|
||||
s.alpha *= scale.x*max(0,.7-lifetime)*1.5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue