Fix some oopsies.

This commit is contained in:
Mari the Deer 2020-07-15 16:02:35 +02:00
commit ebe8dc89c7
2 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
[default]
SWWM_MODVER="\chSWWM \cwGZ\c- r424 (Wed 15 Jul 15:28:43 CEST 2020)";
SWWM_MODVER="\chSWWM \cwGZ\c- r425 (Wed 15 Jul 16:02:35 CEST 2020)";

View file

@ -228,8 +228,8 @@ Class YnykronDelayedImpact : Actor
let b = Spawn("YnykronImpact",pos);
b.target = target;
b.master = master;
b.angle = atan2(dirto.y,dirto.x);
b.pitch = asin(-dirto.z);
b.angle = angle;
b.pitch = pitch;
b.special1 = special2;
if ( YnykronShot(master) )
YnykronShot(master).blastcount++;
@ -261,7 +261,7 @@ Class YnykronImpact : Actor
{
Super.PostBeginPlay();
// no need to call A_AlertMonsters if all monsters on the entire map were already alerted by the initial shot
if ( swwm_ynykronimpact && (!special1 || swwm_extraalert) ) A_AlertMonsters();
if ( swwm_ynykronalert && (!special1 || swwm_extraalert) ) A_AlertMonsters();
A_QuakeEx(4,4,4,50,0,1200,"",QF_RELATIVE|QF_SCALEDOWN,falloff:600,rollintensity:.6);
SWWMHandler.DoBlast(self,400,15000);
let bt = BlockThingsIterator.Create(self,500);