diff options
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 |