summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 10a3f3c94..2c02179dd 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -29,6 +29,7 @@
#include "gui/gui.h"
#include "gui/sdlfont.h"
+#include "gui/userpalette.h"
#include "resources/iteminfo.h"
@@ -142,7 +143,9 @@ bool FloorItem::draw(Graphics *const graphics,
{
if (font && mAmount > 1)
{
- graphics->setColor(gcn::Color(255, 255, 255, 100));
+// graphics->setColor(gcn::Color(255, 255, 255, 100));
+ graphics->setColor(userPalette->getColor(
+ UserPalette::FLOOR_ITEM_TEXT));
font->drawString(graphics, toString(mAmount), x, y);
}
}