diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 668a388969..2120f27f63 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -1072,7 +1072,7 @@ int ScummEngine::getObjectImageCount(int object) { int objnum; objnum = getObjectIndex(object); - if (objnum == -1); + if (objnum == -1) return 0; ptr = getOBIMFromObject(_objs[objnum]); |