summaryrefslogtreecommitdiff
path: root/src/enums
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/enums
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/enums')
-rw-r--r--src/enums/dragdropsource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/enums/dragdropsource.h b/src/enums/dragdropsource.h
index aecd46287..37ec91d79 100644
--- a/src/enums/dragdropsource.h
+++ b/src/enums/dragdropsource.h
@@ -26,7 +26,6 @@ enum DragDropSource
DRAGDROP_SOURCE_EMPTY = 0,
DRAGDROP_SOURCE_INVENTORY,
DRAGDROP_SOURCE_STORAGE,
- DRAGDROP_SOURCE_CART,
DRAGDROP_SOURCE_TRADE,
DRAGDROP_SOURCE_OUTFIT,
DRAGDROP_SOURCE_SPELLS,
@@ -37,7 +36,10 @@ enum DragDropSource
DRAGDROP_SOURCE_CRAFT,
DRAGDROP_SOURCE_NPC,
DRAGDROP_SOURCE_EQUIPMENT,
+#ifdef EATHENA_SUPPORT
+ DRAGDROP_SOURCE_CART,
DRAGDROP_SOURCE_MAIL
+#endif
};
#endif // ENUMS_DRAGDROPSOURCE_H