[Scummvm-cvs-logs] SF.net SVN: scummvm: [30921] scummvm/branches/branch-0-11-0/engines/saga/ palanim.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Feb 23 15:12:24 CET 2008
Revision: 30921
http://scummvm.svn.sourceforge.net/scummvm/?rev=30921&view=rev
Author: thebluegr
Date: 2008-02-23 06:12:24 -0800 (Sat, 23 Feb 2008)
Log Message:
-----------
(backport) Fix for bug #1900258 - "ITE: Glitch when looking at the map while at the docks"
Modified Paths:
--------------
scummvm/branches/branch-0-11-0/engines/saga/palanim.cpp
Modified: scummvm/branches/branch-0-11-0/engines/saga/palanim.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/saga/palanim.cpp 2008-02-23 13:54:58 UTC (rev 30920)
+++ scummvm/branches/branch-0-11-0/engines/saga/palanim.cpp 2008-02-23 14:12:24 UTC (rev 30921)
@@ -30,6 +30,7 @@
#include "saga/events.h"
#include "saga/palanim.h"
+#include "saga/interface.h"
namespace Saga {
@@ -170,7 +171,10 @@
}
}
- _vm->_gfx->setPalette(pal);
+ // Don't cycle the palette when the map is open
+ // Fixes bug #1900258 - "ITE: Glitch when looking at the map while at the docks"
+ if (_vm->_interface->getMode() != kPanelMap)
+ _vm->_gfx->setPalette(pal);
event.type = kEvTOneshot;
event.code = kPalAnimEvent;
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