summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 02:51:13 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 02:51:27 +0300
commitc58b6c63c89e18a9feef819f584426d329ff38ac (patch)
treec4a79de160b0cd21f99677a0ca8d547b9f40705b /src/being/localplayer.cpp
parentb54c0e944974669c4b5c1eb3f8018547c2179630 (diff)
downloadmv-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.gz
mv-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.bz2
mv-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.xz
mv-c58b6c63c89e18a9feef819f584426d329ff38ac.zip
Remove default parameters from userpalette.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}