diff options
| -rw-r--r-- | engines/wage/debugger.cpp | 2 | ||||
| -rw-r--r-- | engines/wage/macwindow.cpp | 1 | ||||
| -rw-r--r-- | engines/wage/macwindowmanager.cpp | 2 | ||||
| -rw-r--r-- | engines/wage/wage.cpp | 1 | 
4 files changed, 5 insertions, 1 deletions
| diff --git a/engines/wage/debugger.cpp b/engines/wage/debugger.cpp index 7d01b0b85e..d34aca7d49 100644 --- a/engines/wage/debugger.cpp +++ b/engines/wage/debugger.cpp @@ -56,7 +56,7 @@ static int strToInt(const char *s) {  }  bool Debugger::Cmd_ListScenes(int argc, const char **argv) { -	int currentScene; +	int currentScene = 0;  	for (uint i = 1; i < _engine->_world->_orderedScenes.size(); i++) { // #0 is STORAGE@  		if (_engine->_world->_player->_currentScene == _engine->_world->_orderedScenes[i]) diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp index 1b869fa222..f629e3ef8e 100644 --- a/engines/wage/macwindow.cpp +++ b/engines/wage/macwindow.cpp @@ -57,6 +57,7 @@ namespace Wage {  MacWindow::MacWindow(int id, bool scrollable) : _scrollable(scrollable), _id(id) {  	_active = false;  	_borderIsDirty = true; +	_contentIsDirty = true;  	_highlightedPart = kBorderNone; diff --git a/engines/wage/macwindowmanager.cpp b/engines/wage/macwindowmanager.cpp index 3fbd156d06..8ce39b25b5 100644 --- a/engines/wage/macwindowmanager.cpp +++ b/engines/wage/macwindowmanager.cpp @@ -62,6 +62,8 @@ MacWindowManager::MacWindowManager() {      _screen = 0;      _lastId = 0;      _activeWindow = -1; + +	_fullRefresh = true;  }  MacWindowManager::~MacWindowManager() { diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 73794f7afd..278badd616 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -86,6 +86,7 @@ WageEngine::WageEngine(OSystem *syst, const ADGameDescription *desc) : Engine(sy  	_offer = NULL;  	_resManager = NULL; +	_debugger = NULL;  	debug("WageEngine::WageEngine()");  } | 
