diff options
author | Andrei Prykhodko | 2018-06-29 20:04:26 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-06-29 20:36:00 +0300 |
commit | d7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac (patch) | |
tree | 212b90ff545152b7c28964c664c8805363b66ed4 /engines/pink | |
parent | 18a531e4e4a92ea8ac643ccacdc5bf26e2abb434 (diff) | |
download | scummvm-rg350-d7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac.tar.gz scummvm-rg350-d7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac.tar.bz2 scummvm-rg350-d7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac.zip |
PINK: removed unnecessary loading of same page
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/pda_mgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/pda_mgr.cpp b/engines/pink/pda_mgr.cpp index 69e6d10ccd..f3ea51a31d 100644 --- a/engines/pink/pda_mgr.cpp +++ b/engines/pink/pda_mgr.cpp @@ -71,7 +71,7 @@ void PDAMgr::execute(const Command &command) { } void PDAMgr::goToPage(const Common::String &pageName) { - if (_page && _page->getName() == pageName) + if (_page && !_page->getName().compareToIgnoreCase(pageName)) return; loadGlobal(); |