diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:51:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:51:27 +0300 |
commit | c58b6c63c89e18a9feef819f584426d329ff38ac (patch) | |
tree | c4a79de160b0cd21f99677a0ca8d547b9f40705b /src/being/localplayer.cpp | |
parent | b54c0e944974669c4b5c1eb3f8018547c2179630 (diff) | |
download | manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.gz manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.bz2 manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.xz manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.zip |
Remove default parameters from userpalette.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 4 |
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); } |