summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/charcommand.c2
1 files changed, 1 insertions, 1 deletions
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;