diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-29 17:57:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-29 17:57:23 +0300 |
commit | f518402fc06a3bc4824af47e6c979ce649326cf4 (patch) | |
tree | ad85be5ef125756946229694ead74091c44bdb80 /src/map/data | |
parent | f013f783501bb92d88133d7ac9a7be6501d0dd8e (diff) | |
download | evol-hercules-f518402fc06a3bc4824af47e6c979ce649326cf4.tar.gz evol-hercules-f518402fc06a3bc4824af47e6c979ce649326cf4.tar.bz2 evol-hercules-f518402fc06a3bc4824af47e6c979ce649326cf4.tar.xz evol-hercules-f518402fc06a3bc4824af47e6c979ce649326cf4.zip |
Add checking for npc activate distance.
Diffstat (limited to 'src/map/data')
-rw-r--r-- | src/map/data/npcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/data/npcd.c b/src/map/data/npcd.c index 29e48a7..535c953 100644 --- a/src/map/data/npcd.c +++ b/src/map/data/npcd.c @@ -10,6 +10,7 @@ #include "../../../common/mmo.h" #include "../../../common/socket.h" #include "../../../common/strlib.h" +#include "../../../map/battle.h" #include "../../../map/npc.h" #include "map/data/npcd.h" @@ -33,5 +34,6 @@ struct NpcdExt *npcd_create(void) if (!data) return NULL; data->init = false; + data->areaSize = AREA_SIZE; return data; } |