From e91a8c39e38cddb085320ae390cf985a73eaee5c Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sun, 17 Dec 2017 02:07:28 +0300
Subject: Remove default parameter from PlayerInfo::setStatBase.

---
 src/being/localplayer.cpp | 3 ++-
 src/being/playerinfo.h    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/being')

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.
-- 
cgit v1.2.3-70-g09d2