summaryrefslogtreecommitdiff
path: root/src/gui
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
parent59f0029e490f076a4b45765a27c27bb7d57a193d (diff)
downloadmv-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.gz
mv-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.bz2
mv-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.xz
mv-495b746d928f28ce3e13ff95f26e8cddff2fb06e.zip
Move itemslot into separate file.
Diffstat (limited to 'src/gui')
-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());