diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-24 01:53:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-24 01:53:38 +0300 |
commit | 2aa9b09d4dfa139941c5a0e1e72acd11f9f4fca2 (patch) | |
tree | 383e56eb9194661c86aa6b220d069f1afacf0c79 /src/actions/pets.cpp | |
parent | 6a67f52f6b82bb8c6259eb0b9282ab543347b9ee (diff) | |
download | plus-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/pets.cpp')
-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; |