[Scummvm-cvs-logs] scummvm master -> 01c18c8f4051b39937d1f036283800a0e3973151

dreammaster dreammaster at scummvm.org
Thu Jun 5 03:56:57 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
01c18c8f40 MADS: Fix restoring upper palette area when dialogs close


Commit: 01c18c8f4051b39937d1f036283800a0e3973151
    https://github.com/scummvm/scummvm/commit/01c18c8f4051b39937d1f036283800a0e3973151
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-06-04T21:56:16-04:00

Commit Message:
MADS: Fix restoring upper palette area when dialogs close

Changed paths:
    engines/mads/dialogs.cpp



diff --git a/engines/mads/dialogs.cpp b/engines/mads/dialogs.cpp
index dc8c846..7e6909d 100644
--- a/engines/mads/dialogs.cpp
+++ b/engines/mads/dialogs.cpp
@@ -64,7 +64,7 @@ void Dialog::restore() {
 
 		Common::copy(&_dialogPalette[0], &_dialogPalette[8 * 3],
 			&_vm->_palette->_mainPalette[248 * 3]);
-		_vm->_palette->setPalette(_vm->_palette->_mainPalette, 248, 8);
+		_vm->_palette->setPalette(&_vm->_palette->_mainPalette[248 * 3], 248, 8);
 	}
 }
 






More information about the Scummvm-git-logs mailing list