mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed bad parameter order in MinoraurSlam.
This commit is contained in:
parent
b8d61a38a9
commit
fdf879167c
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class Minotaur : Actor
|
||||||
{
|
{
|
||||||
double ang = AngleTo(target);
|
double ang = AngleTo(target);
|
||||||
double thrust = 16 + random[MinotaurSlam]() / 64.;
|
double thrust = 16 + random[MinotaurSlam]() / 64.;
|
||||||
target.VelFromAngle(ang, thrust);
|
target.VelFromAngle(thrust, ang);
|
||||||
int damage = random[MinotaurSlam](1, 8) * (bSummonedMonster? 4 : 6);
|
int damage = random[MinotaurSlam](1, 8) * (bSummonedMonster? 4 : 6);
|
||||||
int newdam = target.DamageMobj (null, null, damage, 'Melee');
|
int newdam = target.DamageMobj (null, null, damage, 'Melee');
|
||||||
target.TraceBleedAngle (newdam > 0 ? newdam : damage, ang, 0.);
|
target.TraceBleedAngle (newdam > 0 ? newdam : damage, ang, 0.);
|
||||||
|
|
Loading…
Reference in a new issue