From 70b75f72b5b5b2aee2eaa85b6a80c77c78a58f0d Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 12 Nov 2020 23:21:03 +1100 Subject: [PATCH] - Duke: Fix issues with crane angle adjustment in `movecrane()` following changes in fca846272eb3795ddd3dd51ed48e494382c0a389. * Fixes #170. --- source/games/duke/src/actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index a23eb31fd..ddb49689b 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -730,7 +730,7 @@ void movecrane(DDukeActor *actor, int crane) actor->SetActiveCrane(true); ps[p].on_crane = actor; S_PlayActorSound(isRR() ? 390 : DUKE_GRUNT, ps[p].GetActor()); - ps[p].angle.addadjustment(spri->ang + 1024); + ps[p].angle.settarget(spri->ang + 1024); } else {