aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 00a4efd414..67deea62ad 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -988,10 +988,11 @@ void Scumm::findObjectInRoom(FindObjectInRoom *fo, byte findWhat, uint id, uint
}
if (findWhat & foImageHeader) {
fo->obim = obimptr;
- fo->imhd = 0; // TODO - FIXME: is this used at all?
+ fo->imhd = NULL;
}
break;
}
+ searchptr += 2;
}
return;
}