Forráskód Böngészése

Corrected #storagelist target typo (bugreport:1873)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12967 54d463be-8e91-2dee-dedb-b68131a5f0ec
sketchyphoenix 17 éve
szülő
commit
37683bf468
2 módosított fájl, 4 hozzáadás és 1 törlés
  1. 3 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/charcommand.c

+ 3 - 0
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]

+ 1 - 1
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;