diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/pink/objects/pages/pda_page.cpp | 8 | ||||
-rw-r--r-- | engines/pink/objects/pages/pda_page.h | 3 |
2 files changed, 2 insertions, 9 deletions
diff --git a/engines/pink/objects/pages/pda_page.cpp b/engines/pink/objects/pages/pda_page.cpp index a6fa9b1338..d60b4d013a 100644 --- a/engines/pink/objects/pages/pda_page.cpp +++ b/engines/pink/objects/pages/pda_page.cpp @@ -27,9 +27,8 @@ namespace Pink { - PDAPage PDAPage::create(const Common::String &pageName, PDAMgr &pdaMgr) { - PDAPage page(pageName, pdaMgr); + PDAPage page(pageName); page._name = pageName; page._resMgr.init(pdaMgr.getGame(), &page); return page; @@ -43,9 +42,4 @@ Array<Actor *> PDAPage::takeActors() { return actorsCopy; } -PDAPage::PDAPage(const Common::String &name, PDAMgr &pdaMgr) - : _pdaMgr(pdaMgr) { - _name = name; -} - } // End of namespace Pink diff --git a/engines/pink/objects/pages/pda_page.h b/engines/pink/objects/pages/pda_page.h index fe0443b1b9..79da57c985 100644 --- a/engines/pink/objects/pages/pda_page.h +++ b/engines/pink/objects/pages/pda_page.h @@ -35,8 +35,7 @@ public: Array<Actor *> takeActors(); private: - PDAPage(const Common::String &name, PDAMgr &pdaMgr); - PDAMgr &_pdaMgr; + PDAPage(const Common::String &name) { _name = name; } }; } // End of namespace Pink |