From 47a77fc8f1cd1276ac5e71f4950d847f1ada6abc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 6 Nov 2023 17:02:26 +0100 Subject: [PATCH] Exhumed: fix handling of angles for the queen's eggs when colliding with a wall. --- source/games/exhumed/src/queen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/exhumed/src/queen.cpp b/source/games/exhumed/src/queen.cpp index a86300724..40894b039 100644 --- a/source/games/exhumed/src/queen.cpp +++ b/source/games/exhumed/src/queen.cpp @@ -644,7 +644,7 @@ void AIQueenEgg::Tick(RunListEvent* ev) } [[fallthrough]]; case kHitWall: - pActor->spr.Angles.Yaw = (DAngle45 + DAngle90 + RandomAngle9()).Normalized360(); + pActor->spr.Angles.Yaw += (DAngle45 + DAngle90 + RandomAngle9()).Normalized360(); pActor->VelFromAngle(-3); pActor->vel.Z = (-RandomSize(5)) / 256.; break;