summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-30 17:26:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-30 17:26:56 +0300
commita619290b502486ea5b1ff5dd604864ab78c5edc9 (patch)
treebafe213c8e2ed155ea09e9d91f9a4928306c815c /src/gui/widgets/itemcontainer.cpp
parent2774a0c9ea6b06c000c60dbcc602862ced0a17b8 (diff)
downloadmanaverse-a619290b502486ea5b1ff5dd604864ab78c5edc9.tar.gz
manaverse-a619290b502486ea5b1ff5dd604864ab78c5edc9.tar.bz2
manaverse-a619290b502486ea5b1ff5dd604864ab78c5edc9.tar.xz
manaverse-a619290b502486ea5b1ff5dd604864ab78c5edc9.zip
Fix compilation without eathena.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
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)
{