diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
commit | 448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch) | |
tree | 35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/net | |
parent | 9993fbc1d1bec556143d974f148869e1fb4c6307 (diff) | |
download | plus-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.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 1 |
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) |