From 1dbe79304e33952023f3219ce6c891f7bad3000a Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 11 Jul 2009 07:05:05 +0000 Subject: Some insignificant code tweaks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13945 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/account_txt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login') diff --git a/src/login/account_txt.c b/src/login/account_txt.c index 6777c2062..ba3388c57 100644 --- a/src/login/account_txt.c +++ b/src/login/account_txt.c @@ -174,7 +174,7 @@ static bool account_db_txt_init(AccountDB* self) memcpy(tmp, &acc, sizeof(struct mmo_account)); idb_put(accounts, acc.account_id, tmp); - if( db->next_account_id < acc.account_id) + if( acc.account_id >= db->next_account_id ) db->next_account_id = acc.account_id + 1; } -- cgit v1.2.3-70-g09d2