diff options
author | Paul Gilbert | 2018-03-31 15:11:31 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-31 15:11:31 -0400 |
commit | 4c64e1607b0a9b38c893944c7064cb98b3311ee8 (patch) | |
tree | c91f8823d5efa8caf629f0b85b491fb3997739ed | |
parent | 3806a4a0f6587223b076b2249d905da0d554c4d0 (diff) | |
download | scummvm-rg350-4c64e1607b0a9b38c893944c7064cb98b3311ee8.tar.gz scummvm-rg350-4c64e1607b0a9b38c893944c7064cb98b3311ee8.tar.bz2 scummvm-rg350-4c64e1607b0a9b38c893944c7064cb98b3311ee8.zip |
XEEN: Properly remove river bottles when opened
-rw-r--r-- | engines/xeen/scripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 5bb6c4f4ee..3a3c9d6d65 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -800,7 +800,7 @@ bool Scripts::cmdRemove(ParamsIterator ¶ms) { if (intf._objNumber) { // Give the active object a completely way out of bounds position - MazeObject &obj = map._mobData._objects[intf._objNumber - 1]; + MazeObject &obj = map._mobData._objects[intf._objNumber]; obj._position = Common::Point(128, 128); } |