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/gui/windows/minimap.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/gui/windows/minimap.cpp')
-rw-r--r-- | src/gui/windows/minimap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index cf46bb6c6..b65dee620 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -386,7 +386,7 @@ void Minimap::draw2(Graphics *const graphics) } if (userPalette != nullptr) - graphics->setColor(userPalette->getColor(type)); + graphics->setColor(userPalette->getColor(type, 255U)); const int offsetHeight = CAST_S32(static_cast<float>( dotSize - 1) * mHeightProportion); @@ -422,7 +422,7 @@ void Minimap::draw2(Graphics *const graphics) if (userPalette != nullptr) { graphics->setColor(userPalette->getColor( - UserColorId::PARTY)); + UserColorId::PARTY, 255U)); } const int offsetHeight = CAST_S32( @@ -472,7 +472,7 @@ void Minimap::draw2(Graphics *const graphics) y = a.height - h; } - graphics->setColor(userPalette->getColor(UserColorId::PC)); + graphics->setColor(userPalette->getColor(UserColorId::PC, 255U)); graphics->drawRectangle(Rect(x, y, w, h)); graphics->popClipArea(); BLOCK_END("Minimap::draw") |