From 874f9952f8cb07662920a4b302b792f5a657dcee Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 5 Jan 2022 09:50:22 +1100 Subject: [PATCH] - Duke: Fix bad clipmove result check in `movesprite_ex_r()`. --- source/games/duke/src/actors_r.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/actors_r.cpp b/source/games/duke/src/actors_r.cpp index d3369f076..1c8f6d4b8 100644 --- a/source/games/duke/src/actors_r.cpp +++ b/source/games/duke/src/actors_r.cpp @@ -403,7 +403,7 @@ int movesprite_ex_r(DDukeActor* actor, int xchange, int ychange, int zchange, un if (dasectp == nullptr) dasectp = §or[0]; return result.setSector(dasectp); } - if ((result.type == kHitSector || result.type == kHitSprite) && (actor->cgg == 0)) actor->spr.ang += 768; + if ((result.type == kHitWall || result.type == kHitSprite) && (actor->cgg == 0)) actor->spr.ang += 768; } else {