aboutsummaryrefslogtreecommitdiff
path: root/engines/game.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2018-05-06 16:26:57 +0200
committerBastien Bouclet2018-05-10 09:04:23 +0200
commit2fe060e5c9491ddd7c8f639aab5d7c58c7c73092 (patch)
tree8cf6750f56d4f15c0b2111d85a083d5f4f743ea9 /engines/game.cpp
parent90b78c544657bf0fc41d6b86276a0873060345b5 (diff)
downloadscummvm-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.cpp5
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) {