From 16f6f636aee6acaf52439643502f5ff9cb4ccffc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Jun 2015 01:08:30 +0300 Subject: Convert UserColorId enum into strong typed enum. --- src/being/localplayer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/being/localplayer.h') diff --git a/src/being/localplayer.h b/src/being/localplayer.h index e5ae09ae9..2425f7502 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -280,7 +280,8 @@ class LocalPlayer final : public Being, void setMap(Map *const map) override final; void addMessageToQueue(const std::string &message, - const int color = UserColorId::EXP_INFO); + const UserColorIdT color + = UserColorId::EXP_INFO); /** * Called when a option (set with config.addListener()) is changed @@ -458,7 +459,7 @@ class LocalPlayer final : public Being, std::vector mStatusEffectIcons; - typedef std::pair MessagePair; + typedef std::pair MessagePair; /** Queued messages*/ std::list mMessages; int mMessageTime; -- cgit v1.2.3-60-g2f50