summaryrefslogtreecommitdiff
path: root/src/map/atcommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r--src/map/atcommand.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h
index dfcbd2de7..d18e8e923 100644
--- a/src/map/atcommand.h
+++ b/src/map/atcommand.h
@@ -4,6 +4,13 @@
#ifndef _ATCOMMAND_H_
#define _ATCOMMAND_H_
+//This is the distance at which @autoloot works,
+//if the item drops farther from the player than this,
+//it will not be autolooted. [Skotlex]
+#ifndef AUTOLOOT_DISTANCE
+ #define AUTOLOOT_DISTANCE AREA_SIZE
+#endif
+
enum AtCommandType {
AtCommand_None = -1,
AtCommand_Broadcast = 0,