diff options
author | Bastien Bouclet | 2018-05-06 16:26:57 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-05-10 09:04:23 +0200 |
commit | 2fe060e5c9491ddd7c8f639aab5d7c58c7c73092 (patch) | |
tree | 8cf6750f56d4f15c0b2111d85a083d5f4f743ea9 /engines/game.cpp | |
parent | 90b78c544657bf0fc41d6b86276a0873060345b5 (diff) | |
download | scummvm-rg350-2fe060e5c9491ddd7c8f639aab5d7c58c7c73092.tar.gz scummvm-rg350-2fe060e5c9491ddd7c8f639aab5d7c58c7c73092.tar.bz2 scummvm-rg350-2fe060e5c9491ddd7c8f639aab5d7c58c7c73092.zip |
ENGINES: Cleanup DetectedGame initialization in the AD
Diffstat (limited to 'engines/game.cpp')
-rw-r--r-- | engines/game.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/game.cpp b/engines/game.cpp index d23a006a4c..3823000bce 100644 --- a/engines/game.cpp +++ b/engines/game.cpp @@ -75,10 +75,7 @@ DetectedGame::DetectedGame(const Common::String &id, const Common::String &d, Co } void DetectedGame::setGUIOptions(const Common::String &guioptions) { - if (guioptions.empty()) - _guiOptions.clear(); - else - _guiOptions = Common::getGameGUIOptionsDescription(guioptions); + _guiOptions = Common::getGameGUIOptionsDescription(guioptions); } void DetectedGame::appendGUIOptions(const Common::String &str) { |