Browse Source

Do not apply item validation to Single Player games

pull/7608/head
staphen 1 year ago committed by Anders Jenbo
parent
commit
bf65416479
  1. 3
      Source/items/validation.cpp

3
Source/items/validation.cpp

@ -141,6 +141,9 @@ bool IsDungeonItemValid(uint16_t iCreateInfo, uint32_t dwBuff)
bool IsItemValid(const Item &item)
{
if (!gbIsMultiplayer)
return true;
if (item.IDidx != IDI_GOLD && !IsCreationFlagComboValid(item._iCreateInfo))
return false;

Loading…
Cancel
Save