diff options
author | Filippos Karapetis | 2009-10-08 07:57:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-08 07:57:26 +0000 |
commit | 2d98b72858794e5ecf246180bb3cd51334513eae (patch) | |
tree | 81411ed7bf6d25cf7edfd8e8fcecd3724782994a /engines/sci/gui | |
parent | ce75c9270a836f991e54578767f2e4e4678f6c09 (diff) | |
download | scummvm-rg350-2d98b72858794e5ecf246180bb3cd51334513eae.tar.gz scummvm-rg350-2d98b72858794e5ecf246180bb3cd51334513eae.tar.bz2 scummvm-rg350-2d98b72858794e5ecf246180bb3cd51334513eae.zip |
Restore the engine state stored within SciGui during loading once more, since it gets replaced during loading. Fixes loading (a regression from #44730)
svn-id: r44771
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/gui/gui.h b/engines/sci/gui/gui.h index dc03182024..58a6da8075 100644 --- a/engines/sci/gui/gui.h +++ b/engines/sci/gui/gui.h @@ -94,6 +94,9 @@ public: virtual bool debugUndither(bool flag); virtual bool debugShowMap(int mapNo); + // FIXME: Don't store EngineState + virtual void resetEngineState(EngineState *s) { _s = s; } + private: EngineState *_s; SciGuiScreen *_screen; |