diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 00:24:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 00:24:52 +0300 |
commit | 495b746d928f28ce3e13ff95f26e8cddff2fb06e (patch) | |
tree | 562c745fe55d7245c325072c7c0b6f6f0e922954 /src/gui/windows | |
parent | 59f0029e490f076a4b45765a27c27bb7d57a193d (diff) | |
download | manaverse-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.gz manaverse-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.bz2 manaverse-495b746d928f28ce3e13ff95f26e8cddff2fb06e.tar.xz manaverse-495b746d928f28ce3e13ff95f26e8cddff2fb06e.zip |
Move itemslot into separate file.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 3 |
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()); |