summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-24 01:53:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-24 01:53:38 +0300
commit2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2 (patch)
tree383e56eb9194661c86aa6b220d069f1afacf0c79 /src/actions
parent6a67f52f6b82bb8c6259eb0b9282ab543347b9ee (diff)
downloadplus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.tar.gz
plus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.tar.bz2
plus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.tar.xz
plus-2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2.zip
Remove some more local pet related code.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/pets.cpp12
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;