Fixed mob_spawn_dataset() not initializing the spawn_timer variable (followup to r13497).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13498 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
dfe943a397
commit
f4a36b9b63
@ -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_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user