diff options
author | Einar Johan Trøan Sømåen | 2013-04-19 15:37:44 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-04-19 17:17:41 +0200 |
commit | 60a474d452440ea7ea736cc95d92a1561fc50442 (patch) | |
tree | 50d4158ca759a98ef141f33b83cc72f97695330f /engines | |
parent | 2785c3a5287019ad2eb9eddb4aae374128d243a4 (diff) | |
download | scummvm-rg350-60a474d452440ea7ea736cc95d92a1561fc50442.tar.gz scummvm-rg350-60a474d452440ea7ea736cc95d92a1561fc50442.tar.bz2 scummvm-rg350-60a474d452440ea7ea736cc95d92a1561fc50442.zip |
WINTERMUTE: Initialize member _gameRef in SaveThumbHelper
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/save_thumb_helper.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/base/save_thumb_helper.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/save_thumb_helper.cpp b/engines/wintermute/base/save_thumb_helper.cpp index db6f855cc6..bab29c5cf8 100644 --- a/engines/wintermute/base/save_thumb_helper.cpp +++ b/engines/wintermute/base/save_thumb_helper.cpp @@ -35,7 +35,7 @@ namespace Wintermute { ////////////////////////////////////////////////////////////////////////// -SaveThumbHelper::SaveThumbHelper(const BaseGame *inGame) { +SaveThumbHelper::SaveThumbHelper(BaseGame *inGame) : _gameRef(inGame) { _thumbnail = nullptr; _scummVMThumb = nullptr; } diff --git a/engines/wintermute/base/save_thumb_helper.h b/engines/wintermute/base/save_thumb_helper.h index 0efae26a4a..d3bc5f5523 100644 --- a/engines/wintermute/base/save_thumb_helper.h +++ b/engines/wintermute/base/save_thumb_helper.h @@ -35,7 +35,7 @@ class BaseGame; class SaveThumbHelper { public: - SaveThumbHelper(const BaseGame *inGame); + SaveThumbHelper(BaseGame *inGame); virtual ~SaveThumbHelper(void); bool storeThumbnail(bool doFlip = false); bool storeScummVMThumbNail(bool doFlip = false); |