mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
SCUMM: Correct variable type in Actor_v0::adjustPosInBorderWalkbox, since variable can have negative value.
This commit is contained in:
parent
801bfedfc0
commit
0a6904c4ab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user