Merge branch 'fix_acs_big_endian' of https://github.com/alexey-lysiuk/gzdoom

This commit is contained in:
Christoph Oelckers 2014-11-02 17:30:48 +01:00
commit 88ff33c26e

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