[Scummvm-git-logs] scummvm master -> 4c64e1607b0a9b38c893944c7064cb98b3311ee8

dreammaster dreammaster at scummvm.org
Sat Mar 31 21:11:33 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4c64e1607b XEEN: Properly remove river bottles when opened


Commit: 4c64e1607b0a9b38c893944c7064cb98b3311ee8
    https://github.com/scummvm/scummvm/commit/4c64e1607b0a9b38c893944c7064cb98b3311ee8
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-03-31T15:11:31-04:00

Commit Message:
XEEN: Properly remove river bottles when opened

Changed paths:
    engines/xeen/scripts.cpp


diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 5bb6c4f..3a3c9d6 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -800,7 +800,7 @@ bool Scripts::cmdRemove(ParamsIterator &params) {
 
 	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);
 	}
 





More information about the Scummvm-git-logs mailing list