summaryrefslogtreecommitdiff
path: root/src/char_sql/int_storage.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-19 16:00:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-19 16:00:30 +0000
commit83bbf93278328b5530ce7f0d6d5a5160148e3e1e (patch)
tree3989709252e556de2fda83d617d56d589d8f13b1 /src/char_sql/int_storage.c
parent73c06082f78f6ba79e40bf66c531d5ff99082fee (diff)
downloadhercules-83bbf93278328b5530ce7f0d6d5a5160148e3e1e.tar.gz
hercules-83bbf93278328b5530ce7f0d6d5a5160148e3e1e.tar.bz2
hercules-83bbf93278328b5530ce7f0d6d5a5160148e3e1e.tar.xz
hercules-83bbf93278328b5530ce7f0d6d5a5160148e3e1e.zip
* 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
Diffstat (limited to 'src/char_sql/int_storage.c')
-rw-r--r--src/char_sql/int_storage.c1
1 files changed, 0 insertions, 1 deletions
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);