summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 00:24:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 00:24:52 +0300
commit495b746d928f28ce3e13ff95f26e8cddff2fb06e (patch)
tree562c745fe55d7245c325072c7c0b6f6f0e922954 /src/gui/windows/equipmentwindow.cpp
parent59f0029e490f076a4b45765a27c27bb7d57a193d (diff)
downloadplus-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.gz
plus-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.bz2
plus-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.xz
plus-495b746d928f28ce3e13ff95f26e8cddff2fb06e.zip
Move itemslot into separate file.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r--src/gui/windows/equipmentwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index 0a18cd20f..4d90899b5 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -45,6 +45,7 @@
#include "gui/widgets/playerbox.h"
#include "resources/imageset.h"
+#include "resources/itemslot.h"
#include "utils/delete2.h"
#include "utils/dtor.h"
@@ -240,7 +241,7 @@ void EquipmentWindow::draw(Graphics *graphics)
// with maximum opacity
graphics->drawImage(image, box->x + mItemPadding,
box->y + mItemPadding);
- if (i == EQUIP_PROJECTILE_SLOT)
+ if (i == ItemSlot::PROJECTILE_SLOT)
{
graphics->setColorAll(mLabelsColor, mLabelsColor2);
const std::string str = toString(item->getQuantity());