[Scummvm-cvs-logs] SF.net SVN: scummvm: [27339] scummvm/branches/branch-0-10-0/engines/agos/ verb.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Jun 11 08:17:34 CEST 2007
Revision: 27339
http://scummvm.svn.sourceforge.net/scummvm/?rev=27339&view=rev
Author: Kirben
Date: 2007-06-10 23:17:33 -0700 (Sun, 10 Jun 2007)
Log Message:
-----------
Restrict workaround, to prevent regression when inverting conversation responses in scrolling locations.
Modified Paths:
--------------
scummvm/branches/branch-0-10-0/engines/agos/verb.cpp
Modified: scummvm/branches/branch-0-10-0/engines/agos/verb.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/agos/verb.cpp 2007-06-11 02:30:04 UTC (rev 27338)
+++ scummvm/branches/branch-0-10-0/engines/agos/verb.cpp 2007-06-11 06:17:33 UTC (rev 27339)
@@ -832,8 +832,13 @@
int w, h, i;
_lockWord |= 0x8000;
- src = getFrontBuf() + ha->y * _dxSurfacePitch + (ha->x - _scrollX * 8);
+ src = getFrontBuf() + ha->y * _dxSurfacePitch + ha->x;
+ // WORKAROUND: Hitareas for saved game names aren't adjusted for scrolling locations
+ if (getGameType() == GType_SIMON2 && ha->id >= 208 && ha->id <= 213) {
+ src -= _scrollX * 8;
+ }
+
_litBoxFlag = true;
w = ha->width;
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