diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-12 23:58:25 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-12 23:58:25 +0000 |
commit | 029a87801700a4f5c3a8af1ffa39ffeee5099417 (patch) | |
tree | e983bf5792af5388351e2194ad6e497d9d21d105 /src/map/clif.c | |
parent | 4113bd6529891871777d7d62d7fae0cd22708357 (diff) | |
download | hercules-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/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
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);
|