Fixed broken ACS on Big Endian platforms

This fixes maps transition in Strife
http://forum.zdoom.org/viewtopic.php?f=2&t=36754
This commit is contained in:
alexey.lysiuk 2014-11-02 15:58:47 +02:00
parent 147e05673d
commit 8f915c9dcc

View file

@ -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]));