summaryrefslogtreecommitdiff
path: root/src/actions/pets.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-28 16:03:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-28 16:34:59 +0300
commitb96e6eeba6e1511568c8291bd8cb6a6d3706635c (patch)
treed021843c88d856f86f018547c30f1181290ffcbe /src/actions/pets.cpp
parent60859a71dd9794b0216cc7a60146d417e06dbbad (diff)
downloadmv-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.gz
mv-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.bz2
mv-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.tar.xz
mv-b96e6eeba6e1511568c8291bd8cb6a6d3706635c.zip
Remove define EATHENA_SUPPORT from all code.
Now eathena like support enabled always.
Diffstat (limited to 'src/actions/pets.cpp')
-rw-r--r--src/actions/pets.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index 512ef00d0..0aa0f29be 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -68,14 +68,10 @@ static const Being *getPet()
return *pets.begin();
}
#endif
-#ifdef EATHENA_SUPPORT
const BeingId id = PlayerInfo::getPetBeingId();
if (id == BeingId_zero)
return nullptr;
return actorManager->findBeing(id);
-#else
- return nullptr;
-#endif
}
impHandler(commandEmotePet)