summaryrefslogtreecommitdiff
path: root/src/gui/windows
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/gui/windows
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/gui/windows')
-rw-r--r--src/gui/windows/minimap.cpp6
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")