diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-05 18:33:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-05 18:33:57 +0300 |
commit | 1c34872aea8d196708aec8277017b467d01d09b0 (patch) | |
tree | dd14d98c40666797d1c5c14f39a5f117d17d791c /src/being/localplayer.cpp | |
parent | 3fae3f59aad1f1f2eee1e1bfa088672787bc9c78 (diff) | |
download | manaplus-1c34872aea8d196708aec8277017b467d01d09b0.tar.gz manaplus-1c34872aea8d196708aec8277017b467d01d09b0.tar.bz2 manaplus-1c34872aea8d196708aec8277017b467d01d09b0.tar.xz manaplus-1c34872aea8d196708aec8277017b467d01d09b0.zip |
Replace in Being speed field from vector to int.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index ecc3b20e4..47735875c 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -190,7 +190,7 @@ LocalPlayer::LocalPlayer(const BeingId id, mNameColor = nullptr; PlayerInfo::setStatBase(Attributes::WALK_SPEED, - CAST_S32(getWalkSpeed().x)); + getWalkSpeed()); PlayerInfo::setStatMod(Attributes::WALK_SPEED, 0); loadHomes(); |