[Scummvm-cvs-logs] SF.net SVN: scummvm:[52991] scummvm/trunk/engines/scumm/gfx.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Sun Oct 3 16:32:10 CEST 2010
Revision: 52991
http://scummvm.svn.sourceforge.net/scummvm/?rev=52991&view=rev
Author: athrxx
Date: 2010-10-03 14:32:09 +0000 (Sun, 03 Oct 2010)
Log Message:
-----------
SCUMM/FM-TOWNS: fix drawBox()
Modified Paths:
--------------
scummvm/trunk/engines/scumm/gfx.cpp
Modified: scummvm/trunk/engines/scumm/gfx.cpp
===================================================================
--- scummvm/trunk/engines/scumm/gfx.cpp 2010-10-03 10:49:58 UTC (rev 52990)
+++ scummvm/trunk/engines/scumm/gfx.cpp 2010-10-03 14:32:09 UTC (rev 52991)
@@ -1311,7 +1311,7 @@
byte *mask = (byte *)_textSurface.getBasePtr(x * _textSurfaceMultiplier, (y - _screenTop + vs->topline) * _textSurfaceMultiplier);
fill(mask, _textSurface.pitch, color, width * _textSurfaceMultiplier, height * _textSurfaceMultiplier, _textSurface.bytesPerPixel);
- if (_game.id == GID_MONKEY2 || _game.id == GID_INDY4)
+ if (_game.id == GID_MONKEY2 || _game.id == GID_INDY4 || ((_game.id == GID_INDY3 || _game.id == GID_ZAK) && vs->number != kTextVirtScreen) || (_game.id == GID_LOOM && vs->number == kMainVirtScreen))
return;
}
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