From 4eaedf092bc504fae492827b1a89e7bbaac20263 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 11:24:41 +0300 Subject: Remove getter for petHandler. --- src/actions/actions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 5fd3b6e70..6c8c49ca6 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -179,7 +179,7 @@ impHandler(petEmote) { const int emotion = event.action - InputAction::PET_EMOTE_1; if (emoteShortcut) - Net::getPetHandler()->emote(emoteShortcut->getEmote(emotion), 0); + petHandler->emote(emoteShortcut->getEmote(emotion), 0); if (Game::instance()) Game::instance()->setValidSpeed(); return true; @@ -1170,7 +1170,7 @@ impHandler(catchPet) else localPlayer->setTarget(target); if (target) - Net::getPetHandler()->catchPet(target); + petHandler->catchPet(target); return true; } -- cgit v1.2.3-70-g09d2