diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-13 10:38:54 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-13 10:38:54 +0000 |
commit | 9d1b39d3facc6d9f1268e036e7b23bd410c683ec (patch) | |
tree | 355fc27fb7d8431737b6d5fd2b62b3b00c7baf21 /src/map/mob.h | |
parent | 4ae49e2bfd82567f5747eaed81f02f515e556441 (diff) | |
download | hercules-9d1b39d3facc6d9f1268e036e7b23bd410c683ec.tar.gz hercules-9d1b39d3facc6d9f1268e036e7b23bd410c683ec.tar.bz2 hercules-9d1b39d3facc6d9f1268e036e7b23bd410c683ec.tar.xz hercules-9d1b39d3facc6d9f1268e036e7b23bd410c683ec.zip |
Mobs with nonzero spawn time can now be cached as well, saving some more cpu/memory (bugreport:1197).
Fixed dynamic mobs being unloaded without stopping their respawn timer.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13445 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 5e4492e69..bef8324d4 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -216,6 +216,7 @@ int mob_target(struct mob_data *md,struct block_list *bl,int dist); int mob_unlocktarget(struct mob_data *md, unsigned int tick); struct mob_data* mob_spawn_dataset(struct spawn_data *data); int mob_spawn(struct mob_data *md); +int mob_delayspawn(int tid, unsigned int tick, int id, intptr data); int mob_setdelayspawn(struct mob_data *md); int mob_parse_dataset(struct spawn_data *data); void mob_log_damage(struct mob_data *md, struct block_list *src, int damage); |