summaryrefslogtreecommitdiff
path: root/src/dragdrop.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-05 16:47:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-05 16:49:23 +0300
commit84c27f3885cc075070876603c223b00fc763eb43 (patch)
treec7ec3d16d6535a529e51a46377cfb6915afffb9e /src/dragdrop.h
parent36835c498ff166cffca985afd8b3cd29d3eef7f3 (diff)
downloadmanaplus-84c27f3885cc075070876603c223b00fc763eb43.tar.gz
manaplus-84c27f3885cc075070876603c223b00fc763eb43.tar.bz2
manaplus-84c27f3885cc075070876603c223b00fc763eb43.tar.xz
manaplus-84c27f3885cc075070876603c223b00fc763eb43.zip
Build parts of dragdropsource.h only if supported server enabled.
Diffstat (limited to 'src/dragdrop.h')
-rw-r--r--src/dragdrop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dragdrop.h b/src/dragdrop.h
index 773d26553..814434124 100644
--- a/src/dragdrop.h
+++ b/src/dragdrop.h
@@ -225,7 +225,9 @@ class DragDrop final
{
return mSource == DRAGDROP_SOURCE_INVENTORY
|| mSource == DRAGDROP_SOURCE_STORAGE
+#ifdef EATHENA_SUPPORT
|| mSource == DRAGDROP_SOURCE_CART
+#endif
|| mSource == DRAGDROP_SOURCE_TRADE
|| mSource == DRAGDROP_SOURCE_OUTFIT
|| mSource == DRAGDROP_SOURCE_GROUND