From c58b6c63c89e18a9feef819f584426d329ff38ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Dec 2017 02:51:13 +0300 Subject: Remove default parameters from userpalette. --- src/being/localplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/localplayer.cpp') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 9cfdc4d82..35cfbda38 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -189,7 +189,7 @@ LocalPlayer::LocalPlayer(const BeingId id, mAdvanced = true; mTextColor = &theme->getColor(ThemeColorId::PLAYER, 255); if (userPalette != nullptr) - mNameColor = &userPalette->getColor(UserColorId::SELF); + mNameColor = &userPalette->getColor(UserColorId::SELF, 255U); else mNameColor = nullptr; @@ -296,7 +296,7 @@ void LocalPlayer::logic() info.first, mPixelX, mPixelY - 48, - &userPalette->getColor(info.second), + &userPalette->getColor(info.second, 255U), gui->getInfoParticleFont(), true); } -- cgit v1.2.3-60-g2f50