summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp3
-rw-r--r--src/being/playerinfo.h2
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.