summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 601d88387..37335f9d0 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -1883,7 +1883,7 @@ int guild_break(struct map_session_data *sd,char *name) {
}
/* regardless of char server allowing it, we clear the guild master's auras */
- if( (ud = unit_bl2ud(&sd->bl)) ) {
+ if( (ud = unit->bl2ud(&sd->bl)) ) {
int count = 0;
struct skill_unit_group *groups[4];
for (i=0;i<MAX_SKILLUNITGROUP && ud->skillunit[i];i++) {
@@ -1960,7 +1960,7 @@ int guild_castledatasave(int castle_id, int index, int value)
gc->guild_id = value;
for (i = 0; i < MAX_GUARDIANS; i++)
if (gc->guardian[i].visible && (gd = iMap->id2md(gc->guardian[i].id)) != NULL)
- mob_guardian_guildchange(gd);
+ mob->guardian_guildchange(gd);
break;
}
case 2: