diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-15 17:15:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-15 17:15:30 +0300 |
commit | 48a60b78c61d67ab205ebb233a0ad9dc0fe125b4 (patch) | |
tree | 5b10cdceb18b28aea9d1abd3f5df038fac472ec1 /src/net/eathena | |
parent | e39ac061384a0877367b9a7fbd24b1a01626be3d (diff) | |
download | manaplus-48a60b78c61d67ab205ebb233a0ad9dc0fe125b4.tar.gz manaplus-48a60b78c61d67ab205ebb233a0ad9dc0fe125b4.tar.bz2 manaplus-48a60b78c61d67ab205ebb233a0ad9dc0fe125b4.tar.xz manaplus-48a60b78c61d67ab205ebb233a0ad9dc0fe125b4.zip |
eathena: fix default walk delay parameter in stats.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 6896b860d..f1893e4b5 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -41,6 +41,7 @@ #include "net/eathena/loginhandler.h" #include "net/eathena/messageout.h" #include "net/eathena/network.h" +#include "net/eathena/playerhandler.h" #include "net/eathena/protocol.h" #include "net/eathena/sprite.h" @@ -452,6 +453,8 @@ void CharServerHandler::processCharMapInfo(Net::MessageIn &restrict msg) // Prevent the selected local player from being deleted localPlayer = mSelectedCharacter->dummy; PlayerInfo::setBackend(mSelectedCharacter->data); + PlayerInfo::setStatBase(Attributes::WALK_SPEED, + playerHandler->getDefaultWalkSpeed().x); mSelectedCharacter->dummy = nullptr; |