diff options
author | Torbjörn Andersson | 2017-08-06 12:29:21 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2017-08-06 12:29:21 +0200 |
commit | 9f34aa69b7d3f8862352984c2681789f431ecf94 (patch) | |
tree | f1cc496b529b131ebcb3e6c259355104168ed151 /engines/gob | |
parent | 462f1c98597589a3baf241ab2c1bb4dba991374e (diff) | |
download | scummvm-rg350-9f34aa69b7d3f8862352984c2681789f431ecf94.tar.gz scummvm-rg350-9f34aa69b7d3f8862352984c2681789f431ecf94.tar.bz2 scummvm-rg350-9f34aa69b7d3f8862352984c2681789f431ecf94.zip |
GOB: Fix what looks like an obviously incorrect condition
Though since I don't have the game I can't actually test it. :-)
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/pregob/onceupon/onceupon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/pregob/onceupon/onceupon.cpp b/engines/gob/pregob/onceupon/onceupon.cpp index 50910e77bd..ab9b142799 100644 --- a/engines/gob/pregob/onceupon/onceupon.cpp +++ b/engines/gob/pregob/onceupon/onceupon.cpp @@ -984,7 +984,7 @@ OnceUpon::MenuAction OnceUpon::doIngameMenu() { // User pressed the return to game button action = kMenuActionPlay; - } else if (kMenuActionMainMenu) { + } else if (action == kMenuActionMainMenu) { // User pressed the return to main menu button action = handleMainMenu(); |