From 2b8e0b02338400b215b73cec900ffa1fddbac60a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 16:28:38 +0300 Subject: Move user defined colors enum into separate file. --- src/being/localplayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/being/localplayer.cpp') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 6251cc5e5..5c47c55a8 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -185,7 +185,7 @@ LocalPlayer::LocalPlayer(const BeingId id, mAdvanced = true; mTextColor = &theme->getColor(ThemeColorId::PLAYER, 255); if (userPalette) - mNameColor = &userPalette->getColor(UserPalette::SELF); + mNameColor = &userPalette->getColor(UserColorId::SELF); else mNameColor = nullptr; @@ -881,7 +881,7 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, if (mMap && config.getBoolValue("showpickupparticle")) { // Show pickup notification - addMessageToQueue(gettext(msg), UserPalette::PICKUP_INFO); + addMessageToQueue(gettext(msg), UserColorId::PICKUP_INFO); } } else @@ -908,11 +908,11 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, if (amount > 1) { addMessageToQueue(strprintf("%d x %s", amount, - str.c_str()), UserPalette::PICKUP_INFO); + str.c_str()), UserColorId::PICKUP_INFO); } else { - addMessageToQueue(str, UserPalette::PICKUP_INFO); + addMessageToQueue(str, UserColorId::PICKUP_INFO); } } } -- cgit v1.2.3-60-g2f50