Permalink
Browse files

PINK: removed unused parameter

  • Loading branch information...
whiterandrek committed Aug 17, 2018
1 parent 5f462c1 commit d60265d7d4745f1c3fde03d4dc48765dfb151a0b
@@ -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) {
@@ -70,7 +70,7 @@ class LeadActor : public Actor {

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);
@@ -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);
@@ -53,7 +53,7 @@ class PDAMgr {
void close();

void onLeftButtonClick(Common::Point point);
void onLeftButtonUp(Common::Point point);
void onLeftButtonUp();
void onMouseMove(Common::Point point);

PinkEngine *getGame() const { return _game; }
@@ -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())

0 comments on commit d60265d

Please sign in to comment.