diff options
author | Jonathan Gray | 2003-05-24 10:39:13 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-05-24 10:39:13 +0000 |
commit | 9b0e0d14dbcc1dde7b39ae19402ac7ba1d3da20a (patch) | |
tree | 26883a128df1c75fb18542d4935985773b8d9cc1 | |
parent | fa33a173ac6ddcb0ffe3123fb3c721138af183b9 (diff) | |
download | scummvm-rg350-9b0e0d14dbcc1dde7b39ae19402ac7ba1d3da20a.tar.gz scummvm-rg350-9b0e0d14dbcc1dde7b39ae19402ac7ba1d3da20a.tar.bz2 scummvm-rg350-9b0e0d14dbcc1dde7b39ae19402ac7ba1d3da20a.zip |
we want a word not a byte for object numbers, bug pointed out by Hoenicke
svn-id: r7882
-rw-r--r-- | scumm/script_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 8fc7a0e26f..b680ea6231 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1036,7 +1036,7 @@ void Scumm_v2::o2_putActorAtObject() { a = derefActor(getVarOrDirectByte(0x80), "o2_putActorAtObject"); - obj = getVarOrDirectByte(0x40); + obj = getVarOrDirectWord(0x40); if (whereIsObject(obj) != WIO_NOT_FOUND) getObjectXYPos(obj, x, y); else { |