瀏覽代碼

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 年之前
父節點
當前提交
09dd7bd77f
共有 1 個文件被更改,包括 0 次插入2 次删除
  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