[Scummvm-cvs-logs] SF.net SVN: scummvm: [29247] scummvm/trunk/engines/saga/script.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Oct 22 22:41:59 CEST 2007
Revision: 29247
http://scummvm.svn.sourceforge.net/scummvm/?rev=29247&view=rev
Author: thebluegr
Date: 2007-10-22 13:41:58 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
Added a workaround for a script bug in IHNM, which occurs in the original as well. An invisible note will no longer be created in the top left corner of the screen, when the note in the first screen of Gorrister's chapter is read
Modified Paths:
--------------
scummvm/trunk/engines/saga/script.cpp
Modified: scummvm/trunk/engines/saga/script.cpp
===================================================================
--- scummvm/trunk/engines/saga/script.cpp 2007-10-22 16:03:42 UTC (rev 29246)
+++ scummvm/trunk/engines/saga/script.cpp 2007-10-22 20:41:58 UTC (rev 29247)
@@ -776,6 +776,19 @@
objectId = ID_NOTHING;
newObjectId = ID_NOTHING;
}
+
+ // WORKAROUND for a script bug in the original game scripts of IHNM
+ // When the note (item 16406) in the first screen of Gorrister's chapter
+ // is read, an invisible ghost object is created in the upper left corner
+ // of the screen, that the player can interact with. We ignore that invalid
+ // object here
+ if (_vm->getGameType() == GType_IHNM) {
+ if (objectId == 16406 && mousePoint.x < 60 && mousePoint.y < 60) {
+ objectId = ID_NOTHING;
+ newObjectId = ID_NOTHING;
+ newRightButtonVerb = getVerbType(kVerbNone);
+ }
+ }
} else {
actor = _vm->_actor->getActor(newObjectId);
objectId = newObjectId;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list