[Scummvm-cvs-logs] SF.net SVN: scummvm: [32159] scummvm/trunk/engines/gob/videoplayer.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Sat May 17 21:26:11 CEST 2008
Revision: 32159
http://scummvm.svn.sourceforge.net/scummvm/?rev=32159&view=rev
Author: drmccoy
Date: 2008-05-17 12:26:10 -0700 (Sat, 17 May 2008)
Log Message:
-----------
This fixes the messed-up palette after levitating in Bigwig's place in Woodruff.
I hope it doesn't break anything else, though...
Modified Paths:
--------------
scummvm/trunk/engines/gob/videoplayer.cpp
Modified: scummvm/trunk/engines/gob/videoplayer.cpp
===================================================================
--- scummvm/trunk/engines/gob/videoplayer.cpp 2008-05-17 19:23:44 UTC (rev 32158)
+++ scummvm/trunk/engines/gob/videoplayer.cpp 2008-05-17 19:26:10 UTC (rev 32159)
@@ -542,7 +542,7 @@
_vm->_draw->_noInvalidated = true;
}
- if (state.flags & CoktelVideo::kStatePalette) {
+ if ((state.flags & CoktelVideo::kStatePalette) && (palCmd > 1)) {
copyPalette(*(_primaryVideo->getVideo()), palStart, palEnd);
if (!_backSurf)
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