From 83bbf93278328b5530ce7f0d6d5a5160148e3e1e Mon Sep 17 00:00:00 2001 From: ultramage Date: Tue, 19 Aug 2008 16:00:30 +0000 Subject: * Fixed a storage saving issue with txt charserver (bugreport:2084) - caused by incorrect idb_ensure -> idb_get change (see r12950) - removed redundant account_id variable from storage data - cleaned up the very messy txt storage handling code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13093 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/int_storage.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/char_sql') diff --git a/src/char_sql/int_storage.c b/src/char_sql/int_storage.c index f0118047d..d85c4cf07 100644 --- a/src/char_sql/int_storage.c +++ b/src/char_sql/int_storage.c @@ -36,7 +36,6 @@ int storage_fromsql(int account_id, struct storage_data* p) memset(p, 0, sizeof(struct storage_data)); //clean up memory p->storage_amount = 0; - p->account_id = account_id; // storage {`account_id`/`id`/`nameid`/`amount`/`equip`/`identify`/`refine`/`attribute`/`card0`/`card1`/`card2`/`card3`} StringBuf_Init(&buf); -- cgit v1.2.3-70-g09d2