diff options
author | Andrei Prykhodko | 2018-08-17 17:11:04 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-08-17 17:14:15 +0300 |
commit | d60265d7d4745f1c3fde03d4dc48765dfb151a0b (patch) | |
tree | f5f0992b84e31176d78cd4b03629ea1f9c37ac47 /engines/pink | |
parent | 5f462c1ebcd6b379e67b5e681cce80f41540fcde (diff) | |
download | scummvm-rg350-d60265d7d4745f1c3fde03d4dc48765dfb151a0b.tar.gz scummvm-rg350-d60265d7d4745f1c3fde03d4dc48765dfb151a0b.tar.bz2 scummvm-rg350-d60265d7d4745f1c3fde03d4dc48765dfb151a0b.zip |
PINK: removed unused parameter
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/objects/actors/lead_actor.cpp | 4 | ||||
-rw-r--r-- | engines/pink/objects/actors/lead_actor.h | 2 | ||||
-rw-r--r-- | engines/pink/pda_mgr.cpp | 2 | ||||
-rw-r--r-- | engines/pink/pda_mgr.h | 2 | ||||
-rw-r--r-- | engines/pink/pink.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp index 6165a35008..4134c2ffa8 100644 --- a/engines/pink/objects/actors/lead_actor.cpp +++ b/engines/pink/objects/actors/lead_actor.cpp @@ -246,9 +246,9 @@ void LeadActor::onLeftButtonClick(const Common::Point point) { } } -void LeadActor::onLeftButtonUp(const Common::Point point) { +void LeadActor::onLeftButtonUp() { if (_state == kPDA) - _page->getGame()->getPdaMgr().onLeftButtonUp(point); + _page->getGame()->getPdaMgr().onLeftButtonUp(); } void LeadActor::onRightButtonClick(const Common::Point point) { diff --git a/engines/pink/objects/actors/lead_actor.h b/engines/pink/objects/actors/lead_actor.h index 25ab1c2105..b041f4fc42 100644 --- a/engines/pink/objects/actors/lead_actor.h +++ b/engines/pink/objects/actors/lead_actor.h @@ -70,7 +70,7 @@ public: void onKeyboardButtonClick(Common::KeyCode code); void onLeftButtonClick(const Common::Point point); - void onLeftButtonUp(const Common::Point point); + void onLeftButtonUp(); void onRightButtonClick(const Common::Point point); void onMouseMove(const Common::Point point); diff --git a/engines/pink/pda_mgr.cpp b/engines/pink/pda_mgr.cpp index 55e96a9eeb..bb685dea01 100644 --- a/engines/pink/pda_mgr.cpp +++ b/engines/pink/pda_mgr.cpp @@ -125,7 +125,7 @@ void PDAMgr::onLeftButtonClick(Common::Point point) { actor->onLeftClickMessage(); } -void PDAMgr::onLeftButtonUp(Common::Point point) { +void PDAMgr::onLeftButtonUp() { Actor* _rightHand = _globalPage->findActor(kRightHand); if (_rightHand) static_cast<ActionStill*>(_rightHand->getAction())->setFrame(0); diff --git a/engines/pink/pda_mgr.h b/engines/pink/pda_mgr.h index dda4cf020f..1a1826e0ab 100644 --- a/engines/pink/pda_mgr.h +++ b/engines/pink/pda_mgr.h @@ -53,7 +53,7 @@ public: void close(); void onLeftButtonClick(Common::Point point); - void onLeftButtonUp(Common::Point point); + void onLeftButtonUp(); void onMouseMove(Common::Point point); PinkEngine *getGame() const { return _game; } diff --git a/engines/pink/pink.cpp b/engines/pink/pink.cpp index 636342186f..5eebeaa0e7 100644 --- a/engines/pink/pink.cpp +++ b/engines/pink/pink.cpp @@ -135,7 +135,7 @@ Common::Error Pink::PinkEngine::run() { _actor->onLeftButtonClick(event.mouse); break; case Common::EVENT_LBUTTONUP: - _actor->onLeftButtonUp(event.mouse); + _actor->onLeftButtonUp(); break; case Common::EVENT_RBUTTONDOWN: if (isPeril()) |