summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/clif.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 455b97e6f..056bb1d34 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/12
+ * Fixed a pair of missing initializers in the clif storage functions.
+ [Skotlex]
* @heal no longer displays a healing animation. Fixes the client believing
you couldn't be healed more than 32K. [Skotlex]
* Now you can use any skills (except encore/dancing ones) while under
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);