From a619290b502486ea5b1ff5dd604864ab78c5edc9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Jan 2015 17:26:56 +0300 Subject: Fix compilation without eathena. --- src/gui/widgets/itemcontainer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/itemcontainer.cpp') diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 0ca5231e1..915116491 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -545,6 +545,7 @@ void ItemContainer::mouseReleased(MouseEvent &event) dstContainer = InventoryType::INVENTORY; inventory = PlayerInfo::getStorageInventory(); } +#ifdef EATHENA_SUPPORT if (src == DRAGDROP_SOURCE_INVENTORY && dst == DRAGDROP_SOURCE_CART) { @@ -573,6 +574,7 @@ void ItemContainer::mouseReleased(MouseEvent &event) dstContainer = InventoryType::CART; inventory = PlayerInfo::getStorageInventory(); } +#endif if (src == DRAGDROP_SOURCE_INVENTORY && dst == DRAGDROP_SOURCE_TRADE) { -- cgit v1.2.3-60-g2f50