summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
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")