[Scummvm-cvs-logs] SF.net SVN: scummvm: [29279] scummvm/trunk/engines/saga/interface.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Oct 28 05:42:22 CET 2007
Revision: 29279
http://scummvm.svn.sourceforge.net/scummvm/?rev=29279&view=rev
Author: thebluegr
Date: 2007-10-27 21:42:22 -0700 (Sat, 27 Oct 2007)
Log Message:
-----------
The palette of the boss screen (F9 key) in IHNM is set correctly now
Modified Paths:
--------------
scummvm/trunk/engines/saga/interface.cpp
Modified: scummvm/trunk/engines/saga/interface.cpp
===================================================================
--- scummvm/trunk/engines/saga/interface.cpp 2007-10-28 04:28:27 UTC (rev 29278)
+++ scummvm/trunk/engines/saga/interface.cpp 2007-10-28 04:42:22 UTC (rev 29279)
@@ -2790,10 +2790,14 @@
_vm->_gfx->getCurrentPal(_mapSavedPal);
pal = _vm->getImagePal(resource, resourceLength);
- for (i = 0; i < PAL_ENTRIES; i++) {
- cPal[i].red = *pal++;
- cPal[i].green = *pal++;
- cPal[i].blue = *pal++;
+ cPal[0].red = 0;
+ cPal[0].green = 0;
+ cPal[0].blue = 0;
+
+ for (i = 1; i < PAL_ENTRIES; i++) {
+ cPal[i].red = 128;
+ cPal[i].green = 128;
+ cPal[i].blue = 128;
}
backBuffer->blit(rect, image);
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