diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/char_sql/int_guild.c | 5 | ||||
-rw-r--r-- | src/map/npc.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c index ff310f003..201d40d43 100644 --- a/src/char_sql/int_guild.c +++ b/src/char_sql/int_guild.c @@ -505,6 +505,7 @@ struct guild * inter_guild_fromsql(int guild_id) return g; } +#if 0 static int _set_guild_castle(void *key, void *data, va_list ap) { int castle_id = va_arg(ap, int); int guild_id = va_arg(ap, int); @@ -516,7 +517,7 @@ static int _set_guild_castle(void *key, void *data, va_list ap) { g->castle_id = castle_id; return 0; } - +#endif // Save guild_castle to sql int inter_guildcastle_tosql(struct guild_castle *gc){ @@ -1697,4 +1698,4 @@ int inter_guild_mapif_init(int fd) int inter_guild_leave(int guild_id,int account_id,int char_id) { return mapif_parse_GuildLeave(-1,guild_id,account_id,char_id,0,"**サーバー命令**"); -}
\ No newline at end of file +} diff --git a/src/map/npc.h b/src/map/npc.h index dbb351fa0..e04587508 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -8,7 +8,9 @@ #define WARP_DEBUG_CLASS 722 #define INVISIBLE_CLASS 32767 +#ifdef PCRE_SUPPORT void npc_chat_finalize(struct npc_data *nd); +#endif int npc_chat_sub(struct block_list *bl, va_list ap); int npc_event_dequeue(struct map_session_data *sd); int npc_event_timer(int tid,unsigned int tick,int id,int data); |