Fix autoaim behavior on pulsegun beams.

This commit is contained in:
Marisa the Magician 2018-06-13 12:18:02 +02:00
commit 884bbab247

View file

@ -542,7 +542,7 @@ Class StarterBolt : PulseBolt
A_SetPitch(target.BulletSlope());
frame++;
if ( frame > 4 ) frame = 0;
CheckBeam(x);
CheckBeam((cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch)));
}
}