diff options
author | shennetsind <ind@henn.et> | 2013-06-08 17:31:28 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-08 17:31:28 -0300 |
commit | 4c31ec091c3dcef916c90b6416976ea701671e90 (patch) | |
tree | 421552306c5f014103c6f8efc261e947bbb448c5 /src/char/int_guild.c | |
parent | 60eb0c9e0527e80b7793e48d2cea47e3204b777c (diff) | |
download | hercules-4c31ec091c3dcef916c90b6416976ea701671e90.tar.gz hercules-4c31ec091c3dcef916c90b6416976ea701671e90.tar.bz2 hercules-4c31ec091c3dcef916c90b6416976ea701671e90.tar.xz hercules-4c31ec091c3dcef916c90b6416976ea701671e90.zip |
Follow up d73783f22b2bb881aab74524d153d89a5932a199
Adjusting db.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i')
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 55f29953f..a9bce9cbe 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 = iDB->data2ptr(iter->first(iter, &key)); dbi_exists(iter); g = iDB->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 = iDB->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; |