diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:33:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:33:41 +0300 |
commit | 1be5a1cd679a5476e1ad3339c01a8b7237b84aec (patch) | |
tree | 8fcbe25cd0444185f66e3d22ae31000aaa28173a /src/being | |
parent | e91a8c39e38cddb085320ae390cf985a73eaee5c (diff) | |
download | manaplus-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.gz manaplus-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.bz2 manaplus-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.xz manaplus-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.zip |
Remove default parameter from PlayerInfo::setStatMod.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 4 | ||||
-rw-r--r-- | src/being/playerinfo.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 4a6c65718..206f1f1ca 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -196,7 +196,9 @@ LocalPlayer::LocalPlayer(const BeingId id, PlayerInfo::setStatBase(Attributes::PLAYER_WALK_SPEED, getWalkSpeed(), Notify_true); - PlayerInfo::setStatMod(Attributes::PLAYER_WALK_SPEED, 0); + PlayerInfo::setStatMod(Attributes::PLAYER_WALK_SPEED, + 0, + Notify_true); loadHomes(); diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index a4691a54e..12cba8f18 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -133,7 +133,7 @@ namespace PlayerInfo */ void setStatMod(const AttributesT id, const int value, - const Notify notify = Notify_true); + const Notify notify); /** * Returns the current effective value of the given stat. Effective is base |