summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/charcommand.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 0b71ac0f3..201427743 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,9 @@ 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.
2008/07/16
+ * Corrected #storagelist target typo (bugreport:1873) [SketchyPhoenix]
+
+2008/07/16
* Added a check to make sure only released timers are acquired from the free list.
* Changed TIMER_MAX_INTERVAL to 1 second (was set to 1 minute by mistake). [FlavioJS]
* Fixed TK_JUMPKICK, should not jump over objects and cliffs.
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index ccbf0cadc..a44e940e3 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -635,7 +635,7 @@ int charcommand_storagelist(const int fd, struct map_session_data* sd, const cha
for (i = 0; i < MAX_STORAGE; i++)
{
- struct item* it = &sd->status.storage.items[i];
+ struct item* it = &pl_sd->status.storage.items[i];
if( it->nameid > 0 && (item_data = itemdb_search(it->nameid)) != NULL )
{
counter = counter + it->amount;