summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
parentb54c0e944974669c4b5c1eb3f8018547c2179630 (diff)
downloadplus-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.gz
plus-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.bz2
plus-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.xz
plus-c58b6c63c89e18a9feef819f584426d329ff38ac.zip
Remove default parameters from userpalette.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/map/mapitem.cpp2
1 files changed, 1 insertions, 1 deletions
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,