mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-13 21:20:58 +00:00
fix assert for mi_demo2
svn-id: r7698
This commit is contained in:
parent
7bf95c0cf0
commit
1e7f246755
@ -571,7 +571,7 @@ int Scumm::getPathToDestBox(byte from, byte to) {
|
||||
if (from == to)
|
||||
return to;
|
||||
|
||||
assert(from < numOfBoxes);
|
||||
assert(from < numOfBoxes || from == Actor::INVALID_BOX);
|
||||
assert(to < numOfBoxes);
|
||||
|
||||
boxm = getBoxMatrixBaseAddr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user