diff options
author | gumi <git@gumi.ca> | 2018-11-07 16:14:36 -0500 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-11-07 16:15:26 -0500 |
commit | f3af2d37a90a83bbec25c15e59c29e0f9802daca (patch) | |
tree | ad869c6a1ed701fe4e42961ec572cfd5b12e63a9 /src/map/map.h | |
parent | b30f62468a5e923bf5d9533adec064ada1716459 (diff) | |
download | hercules-f3af2d37a90a83bbec25c15e59c29e0f9802daca.tar.gz hercules-f3af2d37a90a83bbec25c15e59c29e0f9802daca.tar.bz2 hercules-f3af2d37a90a83bbec25c15e59c29e0f9802daca.tar.xz hercules-f3af2d37a90a83bbec25c15e59c29e0f9802daca.zip |
break the loop in buildin_getunits when the max is reached
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h index 207fef2ce..590cc5dea 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1285,6 +1285,7 @@ END_ZEROED_BLOCK; int (*foreachinpath) (int (*func)(struct block_list*,va_list), int16 m, int16 x0, int16 y0, int16 x1, int16 y1, int16 range, int length, int type, ...); int (*vforeachinmap) (int (*func)(struct block_list*,va_list), int16 m, int type, va_list args); int (*foreachinmap) (int (*func)(struct block_list*,va_list), int16 m, int type, ...); + int (*forcountinmap) (int (*func)(struct block_list*,va_list), int16 m, int count, int type, ...); int (*vforeachininstance)(int (*func)(struct block_list*,va_list), int16 instance_id, int type, va_list ap); int (*foreachininstance)(int (*func)(struct block_list*,va_list), int16 instance_id, int type,...); |