diff options
author | shennetsind <ind@henn.et> | 2013-05-17 22:03:06 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-17 22:03:06 -0300 |
commit | 21bbfad48084190b8a6881ee3b277993418a5137 (patch) | |
tree | 2c8cf1d4a83bb0a7bea2a7e81c003fc240185207 /src/char/int_guild.c | |
parent | 104bb6c05dc8effef9db715f0b708d4548e10010 (diff) | |
parent | b3bc657a44a9fbdd1730f569855e25ccd0f8dd01 (diff) | |
download | hercules-21bbfad48084190b8a6881ee3b277993418a5137.tar.gz hercules-21bbfad48084190b8a6881ee3b277993418a5137.tar.bz2 hercules-21bbfad48084190b8a6881ee3b277993418a5137.tar.xz hercules-21bbfad48084190b8a6881ee3b277993418a5137.zip |
Follow up b3bc657a44a9fbdd1730f569855e25ccd0f8dd01
Adjusting it to the ERS modification, my IDE automatically fixed some indentation that i guess was accidentally removed.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/char/int_guild.c')
-rw-r--r-- | src/char/int_guild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c index b666cadae..e1e012725 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -57,7 +57,7 @@ static int guild_save_timer(int tid, unsigned int tick, int id, intptr_t data) if( last_id == 0 ) //Save the first guild in the list. state = 1; - for( g = db_data2ptr(iter->first(iter, &key)); dbi_exists(iter); g = db_data2ptr(iter->next(iter, &key)) ) + for( g = DB->data2ptr(iter->first(iter, &key)); dbi_exists(iter); g = DB->data2ptr(iter->next(iter, &key)) ) { if( state == 0 && g->guild_id == last_id ) state++; //Save next guild in the list. @@ -739,7 +739,7 @@ int inter_guild_sql_init(void) */ static int guild_db_final(DBKey key, DBData *data, va_list ap) { - struct guild *g = db_data2ptr(data); + struct guild *g = DB->data2ptr(data); if (g->save_flag&GS_MASK) { inter_guild_tosql(g, g->save_flag&GS_MASK); return 1; |