From 495b746d928f28ce3e13ff95f26e8cddff2fb06e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 19 May 2014 00:24:52 +0300 Subject: Move itemslot into separate file. --- src/gui/windows/equipmentwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui') 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()); -- cgit v1.2.3-70-g09d2