From d8811ebc13149f72e5c2fc687f9c2cda9b0d0a7e Mon Sep 17 00:00:00 2001 From: staphen Date: Tue, 26 Nov 2024 23:43:17 -0500 Subject: [PATCH] Do not apply item validation to Single Player games --- Source/items/validation.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/items/validation.cpp b/Source/items/validation.cpp index 58bf6bba3b9..ff2394dca70 100644 --- a/Source/items/validation.cpp +++ b/Source/items/validation.cpp @@ -139,6 +139,9 @@ bool IsDungeonItemValid(uint16_t iCreateInfo, uint32_t dwBuff) bool IsItemValid(const Player &player, const Item &item) { + if (!gbIsMultiplayer) + return true; + if (item.IDidx != IDI_GOLD && !IsCreationFlagComboValid(item._iCreateInfo)) return false;