diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 3c5beca7b..bb81a779d 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3409,22 +3409,7 @@ int mob_clone_spawn(struct map_session_data *sd, int m, int x, int y, const char if (duration) //Auto Delete after a while. md->deletetimer = add_timer (gettick() + duration, mob_timer_delete, md->bl.id, 0); } -#if 0 - //I am playing with this for packet-research purposes, enable it if you want, but don't remove it :X [Skotlex] - //Guardian data - if (sd->status.guild_id) { - struct guild* g = guild_search(sd->status.guild_id); - md->guardian_data = aCalloc(1, sizeof(struct guardian_data)); - md->guardian_data->castle = NULL; - md->guardian_data->number = MAX_GUARDIANS; - md->guardian_data->guild_id = sd->status.guild_id; - if (g) - { - md->guardian_data->emblem_id = g->emblem_id; - memcpy(md->guardian_data->guild_name, g->name, NAME_LENGTH); - } - } -#endif + mob_spawn(md); return md->bl.id; |