From e22f6d0070ea2b0102caf3b738fba703606e6bd4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Aug 2016 01:28:28 +0300 Subject: First step of removing local pets (tmwa only). --- src/gui/viewport.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/gui/viewport.cpp') diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index d4b160068..ba42ee2a2 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -488,9 +488,6 @@ bool Viewport::leftMouseAction() case ActorType::Elemental: break; case ActorType::Unknown: -#ifdef TMWA_SUPPORT - case ActorType::LocalPet: -#endif case ActorType::Avatar: default: reportAlways("Left click on unknown actor type: %d", @@ -919,9 +916,6 @@ void Viewport::mouseMoved(MouseEvent &event) || type == ActorType::Npc || type == ActorType::Homunculus || type == ActorType::Mercenary -#ifdef TMWA_SUPPORT - || type == ActorType::LocalPet -#endif || type == ActorType::Pet)) { popupManager->hideTextPopup(); @@ -978,9 +972,6 @@ void Viewport::mouseMoved(MouseEvent &event) case ActorType::Npc: case ActorType::Monster: case ActorType::Portal: -#ifdef TMWA_SUPPORT - case ActorType::LocalPet: -#endif case ActorType::Pet: case ActorType::Mercenary: case ActorType::Homunculus: -- cgit v1.2.3-60-g2f50