Skip to content

Commit b507049

Browse files
committed
death by underscore
1 parent dd2771e commit b507049

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/items.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3481,7 +3481,7 @@ void SpawnItem(Monster &monster, Point position, bool sendmsg, bool spawn /*= fa
34813481
item = {};
34823482
item.position = originalPos;
34833483
SetupAllItems(*MyPlayer, item, idx, AdvanceRndSeed(), mLevel, uper, onlygood, false, false);
3484-
} while (*GetOptions().Gameplay.disableSearch && item.iSpell == SpellID::Search);
3484+
} while (*GetOptions().Gameplay.disableSearch && item._iSpell == SpellID::Search);
34853485
TryRandomUniqueItem(item, idx, mLevel, uper, onlygood, false);
34863486
SetupItem(item);
34873487

0 commit comments

Comments
 (0)