Przeglądaj źródła

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!

aleos89 9 lat temu
rodzic
commit
09dd7bd77f
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      src/map/intif.c

+ 0 - 2
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