- fixed bad parameter order in MinoraurSlam.

This commit is contained in:
Christoph Oelckers 2021-09-16 07:45:09 +02:00
parent b8d61a38a9
commit fdf879167c

View file

@ -109,7 +109,7 @@ class Minotaur : Actor
{
double ang = AngleTo(target);
double thrust = 16 + random[MinotaurSlam]() / 64.;
target.VelFromAngle(ang, thrust);
target.VelFromAngle(thrust, ang);
int damage = random[MinotaurSlam](1, 8) * (bSummonedMonster? 4 : 6);
int newdam = target.DamageMobj (null, null, damage, 'Melee');
target.TraceBleedAngle (newdam > 0 ? newdam : damage, ang, 0.);