Moves AUTOLOOT_DISTANCE macro define location (#5421)
* Fixes #5375. * Moves the macro define for AUTOLOOT_DISTANCE to mob.hpp as mob.cpp requires this, not atcommand.cpp. Thanks to @vstumpf!
This commit is contained in:
parent
6328383578
commit
7367714d40
@ -9,12 +9,6 @@
|
|||||||
|
|
||||||
struct map_session_data;
|
struct map_session_data;
|
||||||
|
|
||||||
//This is the distance at which @autoloot works,
|
|
||||||
//if the item drops farther from the player than this,
|
|
||||||
//it will not be autolooted. [Skotlex]
|
|
||||||
//Note: The range is unlimited unless this define is set.
|
|
||||||
//#define AUTOLOOT_DISTANCE AREA_SIZE
|
|
||||||
|
|
||||||
//global var
|
//global var
|
||||||
extern char atcommand_symbol;
|
extern char atcommand_symbol;
|
||||||
extern char charcommand_symbol;
|
extern char charcommand_symbol;
|
||||||
|
@ -15,6 +15,12 @@
|
|||||||
|
|
||||||
struct guardian_data;
|
struct guardian_data;
|
||||||
|
|
||||||
|
//This is the distance at which @autoloot works,
|
||||||
|
//if the item drops farther from the player than this,
|
||||||
|
//it will not be autolooted. [Skotlex]
|
||||||
|
//Note: The range is unlimited unless this define is set.
|
||||||
|
//#define AUTOLOOT_DISTANCE AREA_SIZE
|
||||||
|
|
||||||
//The number of drops all mobs have and the max drop-slot that the steal skill will attempt to steal from.
|
//The number of drops all mobs have and the max drop-slot that the steal skill will attempt to steal from.
|
||||||
#define MAX_MOB_DROP 10
|
#define MAX_MOB_DROP 10
|
||||||
#define MAX_MVP_DROP 3
|
#define MAX_MVP_DROP 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user