summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-20 00:31:26 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-20 00:31:26 +0000
commit4bb50b23f21075ccb57426a2e04ca637ed56994f (patch)
tree3d741388fb055013ca739d4f679965f5349283ea
parentab5a4a4c978bf29adb47fb745715c6989b994562 (diff)
downloadhercules-4bb50b23f21075ccb57426a2e04ca637ed56994f.tar.gz
hercules-4bb50b23f21075ccb57426a2e04ca637ed56994f.tar.bz2
hercules-4bb50b23f21075ccb57426a2e04ca637ed56994f.tar.xz
hercules-4bb50b23f21075ccb57426a2e04ca637ed56994f.zip
Corrected #storagelist target typo (bugreport:1873)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12967 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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;