[Scummvm-cvs-logs] SF.net SVN: scummvm:[39731] scummvm/trunk/engines/sci/engine/kgraphics.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Mar 29 03:56:03 CEST 2009
Revision: 39731
http://scummvm.svn.sourceforge.net/scummvm/?rev=39731&view=rev
Author: thebluegr
Date: 2009-03-29 01:56:03 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
Eco Quest 1 continues after the intro now
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-03-28 23:47:14 UTC (rev 39730)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-03-29 01:56:03 UTC (rev 39731)
@@ -264,7 +264,7 @@
if (s->resmgr->_sciVersion < SCI_VERSION_01_VGA)
return s->ega_colors[color].visual;
- if (color == 255)
+ if (color == -1 || color == 255) // -1 occurs in Eco Quest 1. Not sure if this is the best approach, but it seems to work
return PaletteEntry(255,255,255);
else if (color < s->gfx_state->gfxResMan->getColorCount())
return s->gfx_state->gfxResMan->getColor(color);
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