From 4bb50b23f21075ccb57426a2e04ca637ed56994f Mon Sep 17 00:00:00 2001 From: sketchyphoenix Date: Sun, 20 Jul 2008 00:31:26 +0000 Subject: Corrected #storagelist target typo (bugreport:1873) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12967 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 3 +++ src/map/charcommand.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 0b71ac0f3..201427743 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,9 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. 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] 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; -- cgit v1.2.3-70-g09d2