summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-08 20:54:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:29 +0300
commit1c3205f761b1894a7f2347f8ab1275f1791dbcbc (patch)
tree1d845ee0d238f1bd7ea8dc693a08dc7552854744 /src/char/char.c
parenta181f75908d065293685d5adc7c90726fa29c064 (diff)
downloadhercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.tar.gz
hercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.tar.bz2
hercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.tar.xz
hercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.zip
Add most functions from int_storage.c to interfaces.
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 6f11768d2..a5525998f 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1334,7 +1334,7 @@ int char_mmo_char_fromsql(int char_id, struct mmo_charstatus* p, bool load_every
strcat(t_msg, " cart");
//read storage
- inter_storage_fromsql(p->account_id, &p->storage);
+ inter_storage->fromsql(p->account_id, &p->storage);
strcat(t_msg, " storage");
//read skill
@@ -6017,6 +6017,7 @@ void char_load_defaults(void)
inter_party_defaults();
inter_pet_defaults();
inter_quest_defaults();
+ inter_storage_defaults();
}
void char_defaults(void)