[Scummvm-cvs-logs] SF.net SVN: scummvm: [27131] scummvm/branches/branch-0-10-0/engines/agos/ draw.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Wed Jun 6 12:41:37 CEST 2007
Revision: 27131
http://scummvm.svn.sourceforge.net/scummvm/?rev=27131&view=rev
Author: Kirben
Date: 2007-06-06 03:41:36 -0700 (Wed, 06 Jun 2007)
Log Message:
-----------
Fix the Unholy Barrier spell effect in Elvira 2.
Modified Paths:
--------------
scummvm/branches/branch-0-10-0/engines/agos/draw.cpp
Modified: scummvm/branches/branch-0-10-0/engines/agos/draw.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/agos/draw.cpp 2007-06-06 10:41:27 UTC (rev 27130)
+++ scummvm/branches/branch-0-10-0/engines/agos/draw.cpp 2007-06-06 10:41:36 UTC (rev 27131)
@@ -227,6 +227,7 @@
}
if (getGameType() == GType_ELVIRA1 && _variableArray[293]) {
+ // Used by the Fire Wall and Ice Wall spells
debug(0, "Using special wall");
uint8 color, h, len;
@@ -256,10 +257,9 @@
}
_window4Flag = 1;
- setMoveRect(0, 224, 0, 127);
+ setMoveRect(0, 0, 224, 127);
} else if (getGameType() == GType_ELVIRA2 && _variableArray[71] & 2) {
- debug(0, "Using special wall");
-
+ // Used by the Unholy Barrier spell
uint8 color, h, len;
byte *dst = _window4BackScn;
@@ -284,14 +284,14 @@
while (len--) {
dst += 2;
*dst++ = color;
- dst++;
+ dst += 1;
}
dst += 448;
h--;
}
_window4Flag = 1;
- setMoveRect(0, 224, 0, 127);
+ setMoveRect(0, 0, 224, 127);
}
if (_window6Flag == 1)
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