diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-21 19:19:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-21 19:19:15 +0300 |
commit | ec431e54185f525e7006cae9f7e1a6fe9ced39b5 (patch) | |
tree | e5bd4f5cfd3207b628a3bb1d8d53579db470bacd /src/map/unit.h | |
parent | 5931a58658c9c5a486dacaf4d1515d4f736da19f (diff) | |
download | plugin-ec431e54185f525e7006cae9f7e1a6fe9ced39b5.tar.gz plugin-ec431e54185f525e7006cae9f7e1a6fe9ced39b5.tar.bz2 plugin-ec431e54185f525e7006cae9f7e1a6fe9ced39b5.tar.xz plugin-ec431e54185f525e7006cae9f7e1a6fe9ced39b5.zip |
Fix heavy CPU usage while walking.
After this commit and some changes in configuration it allow
spawn more than 7k mobs in small area with small CPU usage.
Diffstat (limited to 'src/map/unit.h')
-rw-r--r-- | src/map/unit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.h b/src/map/unit.h index 00fba4a..675bf0e 100644 --- a/src/map/unit.h +++ b/src/map/unit.h @@ -5,5 +5,6 @@ #define EVOL_MAP_UNIT int eunit_can_move(struct block_list *bl); +int eunit_walktoxy(struct block_list *bl, short *x, short *y, int *flagPtr); #endif // EVOL_MAP_UNIT |