summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-13 11:21:33 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-13 11:21:33 +0000
commit19acefafcb2677030a84ed3e39383c0a25c2047b (patch)
tree784834075263847f932bbdb06c547af153f5e037 /src/map/intif.c
parentaa5eb06a2b9087d8765c4e42f3a748259b995315 (diff)
downloadhercules-19acefafcb2677030a84ed3e39383c0a25c2047b.tar.gz
hercules-19acefafcb2677030a84ed3e39383c0a25c2047b.tar.bz2
hercules-19acefafcb2677030a84ed3e39383c0a25c2047b.tar.xz
hercules-19acefafcb2677030a84ed3e39383c0a25c2047b.zip
storage code cleanup (no behavioral changes yet)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12948 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 99e054119..705171f7f 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1001,7 +1001,7 @@ int intif_parse_LoadStorage(int fd)
stor->storage_status=1;
sd->state.storage_flag = 1;
clif_storagelist(sd,stor);
- clif_updatestorageamount(sd,stor);
+ clif_updatestorageamount(sd,stor->storage_amount);
return 0;
}
@@ -1053,7 +1053,7 @@ int intif_parse_LoadGuildStorage(int fd)
gstor->storage_status = 1;
sd->state.storage_flag = 2;
clif_guildstoragelist(sd,gstor);
- clif_updateguildstorageamount(sd,gstor);
+ clif_updateguildstorageamount(sd,gstor->storage_amount);
return 0;
}
int intif_parse_SaveGuildStorage(int fd)