From 09dd7bd77fc8fccb7160173c2a3026f111809f96 Mon Sep 17 00:00:00 2001 From: aleos89 Date: Thu, 7 Apr 2016 11:04:22 -0400 Subject: [PATCH] Fixed players getting stuck in storage * Resolves an issue when the server saves character data and the character is in their storage resulting in the storage_flag being removed too early. Thanks to @stealth62! --- src/map/intif.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/map/intif.c b/src/map/intif.c index af1c2b361e..21efa8278a 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -3236,8 +3236,6 @@ static void intif_parse_StorageSaved(int fd) //ShowInfo("Inventory has been saved (AID: %d).\n", RFIFOL(fd, 2)); break; case TABLE_STORAGE: //storage - if (sd && sd->state.storage_flag == 1) - sd->state.storage_flag = 0; //ShowInfo("Storage has been saved (AID: %d).\n", RFIFOL(fd, 2)); break; case TABLE_CART: // cart