diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-01 21:40:11 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-01 21:40:11 +0000 |
commit | 0073a0c0267b57250645bf3e0ed5a7ac4aa7463b (patch) | |
tree | 7ab0376dcff8b7fe62eb60d52aa4ac89fb29f35e /src/map/guild.c | |
parent | 207277be0ac9c73626adc9cf8a6841a3dffe67ef (diff) | |
download | hercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.tar.gz hercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.tar.bz2 hercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.tar.xz hercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.zip |
Fix some build issues
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@432 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index a48bb3020..0943b4b6d 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -870,9 +870,10 @@ int guild_notice_changed(int guild_id,const char *mes1,const char *mes2) // ギルドエンブレム変更 int guild_change_emblem(struct map_session_data *sd,int len,const char *data) { - nullpo_retr(0, sd); struct guild *g = NULL; + nullpo_retr(0, sd); + if ((g = guild_search(sd->status.guild_id)) && guild_checkskill(g, GD_GLORYGUILD)>0) return intif_guild_emblem(sd->status.guild_id,len,data); |