From 8f915c9dcc0f1874a4bbdb92418e29f67933e534 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 2 Nov 2014 15:58:47 +0200 Subject: [PATCH] Fixed broken ACS on Big Endian platforms This fixes maps transition in Strife http://forum.zdoom.org/viewtopic.php?f=2&t=36754 --- src/p_acs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index e48e97e86..4150ee231 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -7296,7 +7296,7 @@ scriptwait: while (min <= max) { int mid = (min + max) / 2; - SDWORD caseval = pc[mid*2]; + SDWORD caseval = LittleLong(pc[mid*2]); if (caseval == STACK(1)) { pc = activeBehavior->Ofs2PC (LittleLong(pc[mid*2+1]));