summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
commit448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch)
tree35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/net
parent9993fbc1d1bec556143d974f148869e1fb4c6307 (diff)
downloadplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz
plus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2
plus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz
plus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip
Add some missing tmwa defines.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/playerrecv.cpp2
-rw-r--r--src/net/eathena/beingrecv.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp
index 7a3b448f7..c8ebd6651 100644
--- a/src/net/ea/playerrecv.cpp
+++ b/src/net/ea/playerrecv.cpp
@@ -120,7 +120,9 @@ void PlayerRecv::processPlayerWarp(Net::MessageIn &msg)
localPlayer->setAction(BeingAction::STAND, 0);
localPlayer->setTileCoords(x, y);
+#ifdef TMWA_SUPPORT
localPlayer->updatePets();
+#endif
localPlayer->navigateClean();
localPlayer->reset();
}
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 6fbc28097..b918ae108 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1735,7 +1735,6 @@ void BeingRecv::processBeingSlide(Net::MessageIn &msg)
dstBeing->setAction(BeingAction::STAND, 0);
dstBeing->setTileCoords(x, y);
- dstBeing->updatePets();
}
void BeingRecv::processStarsKill(Net::MessageIn &msg)