From 66c097b3b89f560c451d5649c2777f39e8cd81f1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 18 Oct 2020 21:53:58 +0200 Subject: [PATCH] - fixed bad Holoduke check in alterang. --- 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 a3d79d8b5..b030584e4 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -4973,7 +4973,7 @@ void alterang(int a, int g_i, int g_p) g_sp->ang = WindDir; else if (a & seekplayer) { - j = !isRR() && ps[g_p].holoduke_on; + j = !isRR()? ps[g_p].holoduke_on : -1; // NOTE: looks like 'owner' is set to target sprite ID...