diff --git a/engines/pink/pda_mgr.cpp b/engines/pink/pda_mgr.cpp index 1161052e107..eb55f6ab518 100644 --- a/engines/pink/pda_mgr.cpp +++ b/engines/pink/pda_mgr.cpp @@ -181,11 +181,9 @@ void PDAMgr::close() { } void PDAMgr::loadGlobal() { - if (_globalPage) - return; - - delete _globalPage; - _globalPage = new PDAPage("GLOBAL", getGame()); + if (_globalPage == nullptr) { + _globalPage = new PDAPage("GLOBAL", getGame()); + } } void PDAMgr::initPerilButtons() {