Merge branch 'fix_acs_big_endian' into z_osx_clean

This commit is contained in:
alexey.lysiuk 2014-11-02 16:01:18 +02:00
commit 63eedf9e26

View file

@ -7296,7 +7296,7 @@ scriptwait:
while (min <= max) while (min <= max)
{ {
int mid = (min + max) / 2; int mid = (min + max) / 2;
SDWORD caseval = pc[mid*2]; SDWORD caseval = LittleLong(pc[mid*2]);
if (caseval == STACK(1)) if (caseval == STACK(1))
{ {
pc = activeBehavior->Ofs2PC (LittleLong(pc[mid*2+1])); pc = activeBehavior->Ofs2PC (LittleLong(pc[mid*2+1]));