SCUMM: Correct variable type in Actor_v0::adjustPosInBorderWalkbox, since variable can have negative value.

This commit is contained in:
Kirben 2014-12-08 23:31:59 +11:00
parent 801bfedfc0
commit 0a6904c4ab

View File

@ -1528,7 +1528,7 @@ AdjustBoxResult Actor_v0::adjustPosInBorderWalkbox(AdjustBoxResult box) {
if (!(boxMask & 0x80))
return Result;
byte A;
int16 A;
boxMask &= 0x7C;
if (boxMask == 0x0C)
A = 2;