Skip to content

Commit

Permalink
Spawn butcher's cleaver and undead crown
Browse files Browse the repository at this point in the history
  • Loading branch information
obligaron authored and AJenbo committed May 30, 2023
1 parent 1e79c7b commit 4ce6413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3237,7 +3237,7 @@ void SpawnItem(Monster &monster, Point position, bool sendmsg, bool spawn /*= fa
bool dropsSpecialTreasure = (monster.data().treasure & T_UNIQ) != 0;
bool dropBrain = Quests[Q_MUSHROOM]._qactive == QUEST_ACTIVE && Quests[Q_MUSHROOM]._qvar1 == QS_MUSHGIVEN;

if (dropsSpecialTreasure && !gbIsMultiplayer) {
if (dropsSpecialTreasure && !UseMultiplayerQuests()) {
Item *uniqueItem = SpawnUnique(static_cast<_unique_items>(monster.data().treasure & T_MASK), position, false);
if (uniqueItem != nullptr && sendmsg)
NetSendCmdPItem(false, CMD_DROPITEM, uniqueItem->position, *uniqueItem);
Expand Down

0 comments on commit 4ce6413

Please sign in to comment.