diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-29 01:05:29 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-01-29 01:05:29 +0000 |
commit | 0901d3305259791ac408753d56cd53449fedc2b6 (patch) | |
tree | f81da5c4641c7daa564239875c73f479176326eb /src/map | |
parent | fa535d85d2b5f93099807aa16beec8e33b4dec53 (diff) | |
download | hercules-0901d3305259791ac408753d56cd53449fedc2b6.tar.gz hercules-0901d3305259791ac408753d56cd53449fedc2b6.tar.bz2 hercules-0901d3305259791ac408753d56cd53449fedc2b6.tar.xz hercules-0901d3305259791ac408753d56cd53449fedc2b6.zip |
Fixed mob_spawn_dataset() not initializing the spawn_timer variable (followup to r13497).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13498 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/mob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 3ac4125e7..fd5971cb1 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -226,6 +226,7 @@ struct mob_data* mob_spawn_dataset(struct spawn_data *data) if(md->db->status.mode&MD_LOOTER) md->lootitem = (struct item *)aCalloc(LOOTITEM_SIZE,sizeof(struct item)); + md->spawn_timer = INVALID_TIMER; md->deletetimer = INVALID_TIMER; md->skillidx = -1; status_set_viewdata(&md->bl, md->class_); |