summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-07-08 16:28:46 -0300
committerpanikon <panikon@zoho.com>2014-07-08 16:28:46 -0300
commitd1d99a96485a164f850e09c2fff6d0c30657ea9e (patch)
tree58265553753580a2cfde36c919b8d37262d485f3 /src/map/guild.c
parent36712df4cf1f7fbc1a78eb4a7afee1630fa4c4be (diff)
downloadhercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.tar.gz
hercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.tar.bz2
hercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.tar.xz
hercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.zip
Removed redundant data from guardian_data, saving up to 40 bytes per guardian (10240 bytes total)
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 209f29103..642c8993c 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -1213,7 +1213,7 @@ int guild_emblem_changed(int len,int guild_id,int emblem_id,const char *data)
TBL_MOB* md = (gc->guardian[i].id ? map->id2md(gc->guardian[i].id) : NULL);
if( md == NULL || md->guardian_data == NULL )
continue;
- md->guardian_data->emblem_id = emblem_id;
+
clif->guild_emblem_area(&md->bl);
}
// update temporary guardians
@@ -1221,7 +1221,7 @@ int guild_emblem_changed(int len,int guild_id,int emblem_id,const char *data)
TBL_MOB* md = (gc->temp_guardians[i] ? map->id2md(gc->temp_guardians[i]) : NULL);
if( md == NULL || md->guardian_data == NULL )
continue;
- md->guardian_data->emblem_id = emblem_id;
+
clif->guild_emblem_area(&md->bl);
}
}