From 2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Aug 2016 01:53:38 +0300 Subject: Remove some more local pet related code. --- src/actions/pets.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/actions/pets.cpp') diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp index b978b26b5..35efe0ea0 100644 --- a/src/actions/pets.cpp +++ b/src/actions/pets.cpp @@ -56,18 +56,6 @@ namespace Actions static const Being *getPet() { -#ifdef TMWA_SUPPORT - if (!localPlayer) - return nullptr; - - if (Net::getNetworkType() == ServerType::TMWATHENA) - { - const std::vector &pets = localPlayer->getPets(); - if (pets.empty()) - return nullptr; - return *pets.begin(); - } -#endif const BeingId id = PlayerInfo::getPetBeingId(); if (id == BeingId_zero) return nullptr; -- cgit v1.2.3-60-g2f50