summaryrefslogtreecommitdiff
path: root/src/char_sql/int_guild.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-15 07:57:36 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-15 07:57:36 +0000
commit4a1f2d69c82645fbf3c2504177bda19ffc230523 (patch)
tree6502c5fc6bcc74415f4833cbc7d8b85f51578877 /src/char_sql/int_guild.c
parent1382b22cd68bf90f2adc4ae13187416982f9a12f (diff)
downloadhercules-4a1f2d69c82645fbf3c2504177bda19ffc230523.tar.gz
hercules-4a1f2d69c82645fbf3c2504177bda19ffc230523.tar.bz2
hercules-4a1f2d69c82645fbf3c2504177bda19ffc230523.tar.xz
hercules-4a1f2d69c82645fbf3c2504177bda19ffc230523.zip
Fixed one query that I missed when doing r11915
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11916 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_guild.c')
-rw-r--r--src/char_sql/int_guild.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index 016cf4408..5ffc96980 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -1193,9 +1193,10 @@ int mapif_guild_castle_alldataload(int fd)
WFIFOHEAD(fd, 4 + MAX_GUILDCASTLE*sizeof(struct guild_castle));
WFIFOW(fd, 0) = 0x3842;
- if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `castle_id`, `guild_id`, `economy`, `defense`, `triggerE`, `triggerD`, `nextTime`, `payTime`, `createTime`, "
- "`visibleC`, `visibleG0`, `visibleG1`, `visibleG2`, `visibleG3`, `visibleG4`, `visibleG5`, `visibleG6`, `visibleG7`,"
- "`Ghp0`, `Ghp1`, `Ghp2`, `Ghp3`, `Ghp4`, `Ghp5`, `Ghp6`, `Ghp7` FROM `%s` ORDER BY `castle_id`", guild_castle_db) )
+ if( SQL_ERROR == Sql_Query(sql_handle,
+ "SELECT `castle_id`, `guild_id`, `economy`, `defense`, `triggerE`, `triggerD`, `nextTime`, `payTime`, `createTime`,"
+ " `visibleC`, `visibleG0`, `visibleG1`, `visibleG2`, `visibleG3`, `visibleG4`, `visibleG5`, `visibleG6`, `visibleG7`"
+ " FROM `%s` ORDER BY `castle_id`", guild_castle_db) )
Sql_ShowDebug(sql_handle);
for( i = 0, len = 4; i < MAX_GUILDCASTLE && SQL_SUCCESS == Sql_NextRow(sql_handle); ++i )
{