summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);