From e4abfb651d51670fcf85093b55189065c151cc14 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Apr 2015 18:26:38 +0300 Subject: Add eathena defines into inventorytype enum. --- src/gui/widgets/itemcontainer.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/itemcontainer.cpp') 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; } -- cgit v1.2.3-60-g2f50