From 1be5a1cd679a5476e1ad3339c01a8b7237b84aec Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 02:33:41 +0300 Subject: Remove default parameter from PlayerInfo::setStatMod. --- src/being/localplayer.cpp | 4 +++- src/being/playerinfo.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/being') 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 -- cgit v1.2.3-70-g09d2