[Scummvm-cvs-logs] scummvm master -> 1f8845e9f433365c3586240b4e395cf888ec770b

bluegr bluegr at gmail.com
Sat Mar 14 12:05:54 CET 2015


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:
1f8845e9f4 MADS: Fix toggling of game options


Commit: 1f8845e9f433365c3586240b4e395cf888ec770b
    https://github.com/scummvm/scummvm/commit/1f8845e9f433365c3586240b4e395cf888ec770b
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2015-03-14T13:04:46+02:00

Commit Message:
MADS: Fix toggling of game options

Changed paths:
    engines/mads/nebular/dialogs_nebular.cpp



diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 6c57c85..530cf8a 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -1142,8 +1142,9 @@ void OptionsDialog::show() {
 		// Reload menu
 		_lineIndex = -1;
 		clearLines();
+		_vm->_game->_screenObjects.clear();
+		_vm->_game->_scene._spriteSlots.reset();
 		setLines();
-		setClickableLines();
 	} while (!_vm->shouldQuit() && _selectedLine != 0 && _selectedLine <= 7);
 
 	// If Done button not pressed, reset settings






More information about the Scummvm-git-logs mailing list