diff options
author | Max Horn | 2011-02-07 22:58:22 +0000 |
---|---|---|
committer | Max Horn | 2011-02-07 22:58:22 +0000 |
commit | 41121be4d6fecbc727897471e0ceed1fd4c76bd7 (patch) | |
tree | 08ad9d64eb68bc039cc70e29092592cd8f446526 /engines/hugo/hugo.cpp | |
parent | 85aabef6fe370766fa52ba92a7cf63c558bac772 (diff) | |
download | scummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.tar.gz scummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.tar.bz2 scummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.zip |
GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).
svn-id: r55815
Diffstat (limited to 'engines/hugo/hugo.cpp')
-rw-r--r-- | engines/hugo/hugo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index ec6f4943db..1496e26501 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -1114,11 +1114,11 @@ void HugoEngine::endGame() { _status.viewState = kViewExit; } -bool HugoEngine::canLoadGameStateCurrently() const { +bool HugoEngine::canLoadGameStateCurrently() { return true; } -bool HugoEngine::canSaveGameStateCurrently() const { +bool HugoEngine::canSaveGameStateCurrently() { return (_status.viewState == kViewPlay); } |