SCI: kMessage() rewrite

svn-id: r44860
This commit is contained in:
Walter van Niftrik 2009-10-10 02:16:23 +00:00
parent 4b3c1645bc
commit 6c1cac3956
11 changed files with 384 additions and 321 deletions

View file

@ -35,6 +35,7 @@
#include "sci/sfx/core.h"
#include "sci/sfx/iterator.h"
#include "sci/engine/state.h"
#include "sci/engine/message.h"
#include "sci/engine/savegame.h"
#include "sci/gui/gui.h"
@ -775,7 +776,7 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
reconstruct_sounds(retval);
// Message state:
retval->_msgState = s->_msgState;
retval->_msgState = new MessageState(retval->_segMan);
retval->_gui->resetEngineState(retval);