diff options
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) |