aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray2003-02-17 10:40:02 +0000
committerJonathan Gray2003-02-17 10:40:02 +0000
commit5b1983587cd5714df71379caa9976395adbe1c5f (patch)
treee4a8191a973419619b17a21fbdfd00fce333dedf
parente909c6b86d681a1b7ce221cf2d84fca94b51751a (diff)
downloadscummvm-rg350-5b1983587cd5714df71379caa9976395adbe1c5f.tar.gz
scummvm-rg350-5b1983587cd5714df71379caa9976395adbe1c5f.tar.bz2
scummvm-rg350-5b1983587cd5714df71379caa9976395adbe1c5f.zip
oops
svn-id: r6615
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 372da5f4e2..757e75174a 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2939,7 +2939,7 @@ void Scumm_v6::o6_findAllObjects() {
warning("o6_findAllObjects: current room is not %d", a);
writeVar(0, 0);
defineArray(0, 5, 0, _numLocalObjects);
- defineArray(0, 0, 0, _numLocalObjects);
+ writeArray(0, 0, 0, _numLocalObjects);
while(i < _numLocalObjects) {
writeArray(0, 0, i, _objs[i].obj_nr);