[Scummvm-cvs-logs] SF.net SVN: scummvm: [27340] scummvm/trunk/engines/agos/verb.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Jun 11 08:19:33 CEST 2007
Revision: 27340
http://scummvm.svn.sourceforge.net/scummvm/?rev=27340&view=rev
Author: Kirben
Date: 2007-06-10 23:19:33 -0700 (Sun, 10 Jun 2007)
Log Message:
-----------
Restrict workaround, to prevent regression when inverting conversation responses in scrolling locations.
Modified Paths:
--------------
scummvm/trunk/engines/agos/verb.cpp
Modified: scummvm/trunk/engines/agos/verb.cpp
===================================================================
--- scummvm/trunk/engines/agos/verb.cpp 2007-06-11 06:17:33 UTC (rev 27339)
+++ scummvm/trunk/engines/agos/verb.cpp 2007-06-11 06:19:33 UTC (rev 27340)
@@ -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