Permalink
Browse files

PINK: JANITORIAL: fixed local vars naming

  • Loading branch information...
whiterandrek committed Aug 17, 2018
1 parent d60265d commit 736e94ce39907ba3850d4daf3a9e5101d11e6e76
Showing with 6 additions and 6 deletions.
  1. +6 −6 engines/pink/pda_mgr.cpp
@@ -117,18 +117,18 @@ void PDAMgr::goToPage(const Common::String &pageName) {
}

void PDAMgr::onLeftButtonClick(Common::Point point) {
Actor* _rightHand = _globalPage->findActor(kRightHand);
if (_rightHand)
static_cast<ActionStill*>(_rightHand->getAction())->setFrame(1);
Actor* rightHand = _globalPage->findActor(kRightHand);
if (rightHand)
static_cast<ActionStill*>(rightHand->getAction())->setFrame(1);
Actor *actor = _game->getDirector()->getActorByPoint(point);
if (actor)
actor->onLeftClickMessage();
}

void PDAMgr::onLeftButtonUp() {
Actor* _rightHand = _globalPage->findActor(kRightHand);
if (_rightHand)
static_cast<ActionStill*>(_rightHand->getAction())->setFrame(0);
Actor* rightHand = _globalPage->findActor(kRightHand);
if (rightHand)
static_cast<ActionStill*>(rightHand->getAction())->setFrame(0);
}

void PDAMgr::onMouseMove(Common::Point point) {

0 comments on commit 736e94c

Please sign in to comment.