mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
Restrict workaround, to prevent regression when inverting conversation responses in scrolling locations.
svn-id: r27340
This commit is contained in:
parent
7ab15fa3c9
commit
c9f1dea6b0
@ -832,7 +832,12 @@ void AGOSEngine::invertBox(HitArea * ha, byte a, byte b, byte c, byte d) {
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user