mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
Exhumed: fix handling of angles for the queen's eggs when colliding with a wall.
This commit is contained in:
parent
5d68927e21
commit
47a77fc8f1
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ void AIQueenEgg::Tick(RunListEvent* ev)
|
||||||
}
|
}
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case kHitWall:
|
case kHitWall:
|
||||||
pActor->spr.Angles.Yaw = (DAngle45 + DAngle90 + RandomAngle9()).Normalized360();
|
pActor->spr.Angles.Yaw += (DAngle45 + DAngle90 + RandomAngle9()).Normalized360();
|
||||||
pActor->VelFromAngle(-3);
|
pActor->VelFromAngle(-3);
|
||||||
pActor->vel.Z = (-RandomSize(5)) / 256.;
|
pActor->vel.Z = (-RandomSize(5)) / 256.;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue