summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-17 18:26:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-17 18:26:38 +0300
commite4abfb651d51670fcf85093b55189065c151cc14 (patch)
tree2cb0f32630dce231c2b49263992b927549a9ad66 /src/gui/widgets
parent55d8a042bb195d3c020a3296233b698ef6b109df (diff)
downloadplus-e4abfb651d51670fcf85093b55189065c151cc14.tar.gz
plus-e4abfb651d51670fcf85093b55189065c151cc14.tar.bz2
plus-e4abfb651d51670fcf85093b55189065c151cc14.tar.xz
plus-e4abfb651d51670fcf85093b55189065c151cc14.zip
Add eathena defines into inventorytype enum.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemcontainer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 9728c0e7f..6d2c72c5c 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -422,7 +422,9 @@ void ItemContainer::mousePressed(MouseEvent &event)
src = DRAGDROP_SOURCE_CART;
break;
default:
+#ifdef EATHENA_SUPPORT
case InventoryType::VENDING:
+#endif
case InventoryType::TYPE_END:
break;
}
@@ -522,7 +524,9 @@ void ItemContainer::mouseReleased(MouseEvent &event)
dst = DRAGDROP_SOURCE_CART;
break;
default:
+#ifdef EATHENA_SUPPORT
case InventoryType::VENDING:
+#endif
case InventoryType::TYPE_END:
break;
}