summaryrefslogtreecommitdiff
path: root/src/map/atcommand.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 18:41:39 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 18:41:39 +0000
commit424d353923933ea786ce682a811f700852af08d5 (patch)
tree87d40fb512385d1c2027c3e9541f24c95876f2b5 /src/map/atcommand.h
parente6115fa3fdbe0e8bbdf0e55634232af1c0fd1a74 (diff)
downloadhercules-424d353923933ea786ce682a811f700852af08d5.tar.gz
hercules-424d353923933ea786ce682a811f700852af08d5.tar.bz2
hercules-424d353923933ea786ce682a811f700852af08d5.tar.xz
hercules-424d353923933ea786ce682a811f700852af08d5.zip
- The autoloot range check is no longer done unless AUTOLOOT_DISTANCE is defined (by default it is no longer defined)
- Ganbantein now deletes individual skill cells instead of the whole skill in the area it is casted. - Modified the mob total damage code to prevent overflows when mobs receive over 2kM damage. - Made the dmg structure of the damage log an unsigned int rather than signed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10343 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r--src/map/atcommand.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h
index 3dd8fc838..7f76dbf30 100644
--- a/src/map/atcommand.h
+++ b/src/map/atcommand.h
@@ -7,9 +7,8 @@
//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
+//Note: The range is unlimited unless this define is set.
+//#define AUTOLOOT_DISTANCE AREA_SIZE
enum AtCommandType {
AtCommand_None = -1,