[Scummvm-cvs-logs] SF.net SVN: scummvm: [27359] scummvm/trunk/engines/agos/draw.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Jun 11 15:26:33 CEST 2007
Revision: 27359
http://scummvm.svn.sourceforge.net/scummvm/?rev=27359&view=rev
Author: Kirben
Date: 2007-06-11 06:26:32 -0700 (Mon, 11 Jun 2007)
Log Message:
-----------
Fix restoring screen, after spell wall effects in Elvira 1/2.
Modified Paths:
--------------
scummvm/trunk/engines/agos/draw.cpp
Modified: scummvm/trunk/engines/agos/draw.cpp
===================================================================
--- scummvm/trunk/engines/agos/draw.cpp 2007-06-11 12:39:44 UTC (rev 27358)
+++ scummvm/trunk/engines/agos/draw.cpp 2007-06-11 13:26:32 UTC (rev 27359)
@@ -166,14 +166,15 @@
_vgaSpriteChanged++;
}
- if ((getGameType() == GType_ELVIRA1 && !_variableArray[293] ||
- getGameType() == GType_ELVIRA2 && !_variableArray[71]) &&
+ if ((getGameType() == GType_ELVIRA1 && !_variableArray[293]) ||
+ (getGameType() == GType_ELVIRA2 && !_variableArray[71]) &&
_wallOn) {
+ _wallOn--;
VC10_state state;
- state.srcPtr = getBackGround() + 504;
- state.height = 127;
- state.width = 14;
+ state.srcPtr = getBackGround() + 3 * _screenWidth + 3 * 16;
+ state.height = state.draw_height = 127;
+ state.width = state.draw_width = 14;
state.y = 0;
state.x = 0;
state.palette = 0;
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