diff --git a/zscript/flakcannon.zsc b/zscript/flakcannon.zsc index 6167786..ce69e3f 100644 --- a/zscript/flakcannon.zsc +++ b/zscript/flakcannon.zsc @@ -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) ) diff --git a/zscript/pulsegun.zsc b/zscript/pulsegun.zsc index 18959d1..3b82284 100644 --- a/zscript/pulsegun.zsc +++ b/zscript/pulsegun.zsc @@ -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))); } diff --git a/zscript/warheadlauncher.zsc b/zscript/warheadlauncher.zsc index b24ed81..eeccc6e 100644 --- a/zscript/warheadlauncher.zsc +++ b/zscript/warheadlauncher.zsc @@ -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);