diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-15 22:03:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-16 13:50:43 +0300 |
commit | 23034a47937c109590eb60e4ee0efa32a8c9e45e (patch) | |
tree | 844c716da20752dcbb0aead649011f54d8062635 /src/actions/pets.cpp | |
parent | 4638f969d4206ba8dd857eb6d2758106cc5268df (diff) | |
download | plus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.gz plus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.bz2 plus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.xz plus-23034a47937c109590eb60e4ee0efa32a8c9e45e.zip |
Remove useless includes from cpp files
Diffstat (limited to 'src/actions/pets.cpp')
-rw-r--r-- | src/actions/pets.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp index 7e046758c..8f6d8833c 100644 --- a/src/actions/pets.cpp +++ b/src/actions/pets.cpp @@ -34,7 +34,9 @@ #include "listeners/inputactionreplaylistener.h" #include "net/chathandler.h" +#ifdef TMWA_SUPPORT #include "net/net.h" +#endif #include "net/pethandler.h" #include "net/serverfeatures.h" @@ -61,10 +63,14 @@ static const Being *getPet() return *pets.begin(); } #endif +#ifdef EATHENA_SUPPORT const int id = PlayerInfo::getPetBeingId(); if (!id) return nullptr; return actorManager->findBeing(id); +#else + return nullptr; +#endif } impHandler(commandEmotePet) |