Revert "Another hotfix for stuff in gzdoom devbuilds."

This reverts commit b6b4524295.
This commit is contained in:
Marisa the Magician 2021-05-17 18:55:55 +02:00
commit 6fc5b96568
3 changed files with 3 additions and 3 deletions

View file

@ -246,7 +246,7 @@ Class FlakChunk : Actor
if ( lifetics > 3 )
{
lifetics = 0;
if ( frame < 11 ) frame += 1;
if ( frame < 11 ) frame++;
}
lifetime += lifespeed;
if ( (waterlevel <= 0) && (frame < 10) && !(lifetics%2) )

View file

@ -525,7 +525,7 @@ Class StarterBolt : PulseBolt
SetOrigin(origin,true);
A_SetAngle(target.angle);
A_SetPitch(target.BulletSlope());
frame += 1;
frame++;
if ( frame > 4 ) frame = 0;
CheckBeam((cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch)));
}

View file

@ -54,7 +54,7 @@ Class ShockWave : Actor
if ( !t ) t = ThinkerIterator.Create("Actor");
icount++;
if ( icount == 4 ) Spawn("WarheadSubExplosion",pos);
lifespan -= 1;
lifespan--;
alpha -= 1./ReactionTime;
shocksize = 13*(ReactionTime-lifespan)+3.5/(lifespan/ReactionTime+0.05);
A_SetScale(shocksize*0.25);