From a580e9d884021df40cf57d46a5c949e2021cb358 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 1 Dec 2022 11:14:17 +1100 Subject: [PATCH] - Duke: Increase the precision of the angle in `handle_se00()`. --- 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 f191b6578..6378d37d9 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -1765,7 +1765,7 @@ void handle_se00(DDukeActor* actor) return; } - DAngle ang_amount = mapangle(sect->extra >> 3); + DAngle ang_amount = DAngle::fromQ16(sect->extra << 2); double direction = 0; if (sect->lotag == 30)