From 161153c783a0df0856f785df88df71081de4e726 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 30 Aug 2022 21:16:26 +0200 Subject: [PATCH] - variable replacements --- source/games/duke/src/actors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index df6db2c7f..ab88a9a1d 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -2842,7 +2842,7 @@ void handle_se14(DDukeActor* actor, bool checkstat, int RPG, int JIBS6) if (actor->sector() == psp->sector()) { - auto result = rotatepoint(actor->spr.pos.XY(), ps[p].pos.XY(), DAngle::fromBuild(q)); + auto result = rotatepoint(actor->spr.pos.XY(), ps[p].pos.XY(), qAngle); ps[p].pos.X = result.X + mm; ps[p].pos.Y = result.Y + xx; @@ -2850,7 +2850,7 @@ void handle_se14(DDukeActor* actor, bool checkstat, int RPG, int JIBS6) ps[p].bobpos.X += mm; ps[p].bobpos.Y += xx; - ps[p].angle.addadjustment(DAngle::fromBuild(q)); + ps[p].angle.addadjustment(qAngle); if (numplayers > 1) {