summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-26 22:15:29 -0700
committerIra Rice <irarice@gmail.com>2009-01-26 22:15:29 -0700
commitef4fc442bdbf575846936596eb642a2b52a8b237 (patch)
treecd0211de7434af99899f09294743e97028f027af /src/gui/equipmentwindow.cpp
parente9e1998bcb681526ad6dea0a75ae794778bccfe0 (diff)
downloadmana-ef4fc442bdbf575846936596eb642a2b52a8b237.tar.gz
mana-ef4fc442bdbf575846936596eb642a2b52a8b237.tar.bz2
mana-ef4fc442bdbf575846936596eb642a2b52a8b237.tar.xz
mana-ef4fc442bdbf575846936596eb642a2b52a8b237.zip
Fixed the number of arrows from drawing in red when the shirt is
selected in the equipment window. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index b37dfc3a..1fb2b601 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -116,6 +116,7 @@ void EquipmentWindow::draw(gcn::Graphics *graphics)
g->drawImage(image, mEquipBox[i].posX, mEquipBox[i].posY);
if (i == EQUIP_AMMO_SLOT)
{
+ g->setColor(gcn::Color(0, 0, 0));
graphics->drawText(toString(item->getQuantity()),
mEquipBox[i].posX + (BOX_WIDTH / 2),
mEquipBox[i].posY - getFont()->getHeight(),