summaryrefslogtreecommitdiff
path: root/src/actions/pets.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-22 16:41:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-22 16:41:18 +0300
commitd4deed0e785bdb8b6771d861c7ff6576a644767e (patch)
treebe4833ac70aa49630913d8dec54b5ef2e5833f50 /src/actions/pets.cpp
parent9239957b3a21a1498323b7af2b2910bc75f72859 (diff)
downloadmv-d4deed0e785bdb8b6771d861c7ff6576a644767e.tar.gz
mv-d4deed0e785bdb8b6771d861c7ff6576a644767e.tar.bz2
mv-d4deed0e785bdb8b6771d861c7ff6576a644767e.tar.xz
mv-d4deed0e785bdb8b6771d861c7ff6576a644767e.zip
eathena: convert direction to server format before sending it to server.
Diffstat (limited to 'src/actions/pets.cpp')
-rw-r--r--src/actions/pets.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index 2b3f6dfb8..925ab993f 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -157,9 +157,6 @@ impHandler0(petMoveRight)
impHandler0(petDirectUp)
{
- const Being *const pet = getPet();
- if (!pet)
- return false;
petHandler->setDirection(BeingDirection::UP);
return true;
}