aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-06-29 20:04:26 +0300
committerAndrei Prykhodko2018-06-29 20:36:00 +0300
commitd7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac (patch)
tree212b90ff545152b7c28964c664c8805363b66ed4 /engines
parent18a531e4e4a92ea8ac643ccacdc5bf26e2abb434 (diff)
downloadscummvm-rg350-d7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac.tar.gz
scummvm-rg350-d7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac.tar.bz2
scummvm-rg350-d7b4cb0b565d4cc0e2e44724f70e3a5f5a3730ac.zip
PINK: removed unnecessary loading of same page
Diffstat (limited to 'engines')
-rw-r--r--engines/pink/pda_mgr.cpp2
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();