Another hotfix for stuff in gzdoom devbuilds.

This commit is contained in:
Marisa the Magician 2021-05-17 16:06:09 +02:00
commit b6b4524295
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++;
if ( frame < 11 ) frame += 1;
}
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++;
frame += 1;
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--;
lifespan -= 1;
alpha -= 1./ReactionTime;
shocksize = 13*(ReactionTime-lifespan)+3.5/(lifespan/ReactionTime+0.05);
A_SetScale(shocksize*0.25);