summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-12 23:58:25 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-12 23:58:25 +0000
commit029a87801700a4f5c3a8af1ffa39ffeee5099417 (patch)
treee983bf5792af5388351e2194ad6e497d9d21d105 /src
parent4113bd6529891871777d7d62d7fae0cd22708357 (diff)
downloadhercules-029a87801700a4f5c3a8af1ffa39ffeee5099417.tar.gz
hercules-029a87801700a4f5c3a8af1ffa39ffeee5099417.tar.bz2
hercules-029a87801700a4f5c3a8af1ffa39ffeee5099417.tar.xz
hercules-029a87801700a4f5c3a8af1ffa39ffeee5099417.zip
- Fixed a pair of missing initializers in the clif storage functions.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7113 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 226c4c713..f23ab19ee 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2258,7 +2258,7 @@ void clif_storagelist(struct map_session_data *sd,struct storage *stor)
WFIFOHEAD(fd,MAX_STORAGE * s + 4);
buf = WFIFOP(fd,0);
- for(i=0,n=0;i<MAX_STORAGE;i++){
+ for(i=0,n=0,ne=0;i<MAX_STORAGE;i++){
if(stor->storage_[i].nameid<=0)
continue;
id = itemdb_search(stor->storage_[i].nameid);
@@ -2308,7 +2308,7 @@ void clif_guildstoragelist(struct map_session_data *sd,struct guild_storage *sto
WFIFOHEAD(fd,MAX_GUILD_STORAGE * s + 4);
buf = WFIFOP(fd,0);
- for(i=0,n=0;i<MAX_GUILD_STORAGE;i++){
+ for(i=0,n=0,ne=0;i<MAX_GUILD_STORAGE;i++){
if(stor->storage_[i].nameid<=0)
continue;
id = itemdb_search(stor->storage_[i].nameid);