Skip to content

Commit

Permalink
PINK: JANITORIAL: fixed local vars naming
Browse files Browse the repository at this point in the history
  • Loading branch information
voltya committed Aug 17, 2018
1 parent d60265d commit 736e94c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions engines/pink/pda_mgr.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 736e94c

Please sign in to comment.