diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/pets.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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<Being*> &pets = localPlayer->getPets(); - if (pets.empty()) - return nullptr; - return *pets.begin(); - } -#endif const BeingId id = PlayerInfo::getPetBeingId(); if (id == BeingId_zero) return nullptr; |