diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:07:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:07:28 +0300 |
commit | e91a8c39e38cddb085320ae390cf985a73eaee5c (patch) | |
tree | b407ed97d8feda93743ab1347a11692dfd979353 /src/being | |
parent | ddf3a130e1db0417d2dad77f69d6aa95028024d6 (diff) | |
download | manaplus-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.gz manaplus-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.bz2 manaplus-e91a8c39e38cddb085320ae390cf985a73eaee5c.tar.xz manaplus-e91a8c39e38cddb085320ae390cf985a73eaee5c.zip |
Remove default parameter from PlayerInfo::setStatBase.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 3 | ||||
-rw-r--r-- | src/being/playerinfo.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 4e783606f..4a6c65718 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -194,7 +194,8 @@ LocalPlayer::LocalPlayer(const BeingId id, mNameColor = nullptr; PlayerInfo::setStatBase(Attributes::PLAYER_WALK_SPEED, - getWalkSpeed()); + getWalkSpeed(), + Notify_true); PlayerInfo::setStatMod(Attributes::PLAYER_WALK_SPEED, 0); loadHomes(); diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index 504b7d1d2..a4691a54e 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -121,7 +121,7 @@ namespace PlayerInfo */ void setStatBase(const AttributesT id, const int value, - const Notify notify = Notify_true); + const Notify notify); /** * Returns the modifier for the given stat. |