summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-29 01:05:29 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-29 01:05:29 +0000
commit0901d3305259791ac408753d56cd53449fedc2b6 (patch)
treef81da5c4641c7daa564239875c73f479176326eb /src
parentfa535d85d2b5f93099807aa16beec8e33b4dec53 (diff)
downloadhercules-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')
-rw-r--r--src/map/mob.c1
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_);