From c58b6c63c89e18a9feef819f584426d329ff38ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Dec 2017 02:51:13 +0300 Subject: Remove default parameters from userpalette. --- src/resources/map/mapitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/map') diff --git a/src/resources/map/mapitem.cpp b/src/resources/map/mapitem.cpp index ff4b6b13e..de057e753 100644 --- a/src/resources/map/mapitem.cpp +++ b/src/resources/map/mapitem.cpp @@ -163,7 +163,7 @@ void MapItem::draw(Graphics *const graphics, const int x, const int y, && mType != MapItemType::EMPTY) { Font *const font = gui->getFont(); - const Color &color = userPalette->getColor(UserColorId::BEING); + const Color &color = userPalette->getColor(UserColorId::BEING, 255U); font->drawString(graphics, color, color, -- cgit v1.2.3-60-g2f50