aboutsummaryrefslogtreecommitdiff
path: root/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'object.cpp')
-rw-r--r--object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.cpp b/object.cpp
index e6e439db23..c7d2869a6e 100644
--- a/object.cpp
+++ b/object.cpp
@@ -670,7 +670,7 @@ byte *Scumm::getObjOrActorName(int obj) {
return getActorName(derefActorSafe(obj, "getObjOrActorName"));
if(_features & GF_SMALL_HEADER) {
- byte offset;
+ byte offset=0;
objptr = getOBCDFromObject(obj);
if (objptr)