fix(Core/Player): Quest failure sound when inventory full (#20970)

* Add quest failure sound when inventory is full or quest failed

* Fix sound being played for all players & move call to correct function
This commit is contained in:
Exitare
2024-12-18 16:58:32 -08:00
committed by GitHub
parent a23b13defe
commit 4d1dba4a09
2 changed files with 1 additions and 1 deletions

View File

@@ -279,6 +279,7 @@ bool Player::CanAddQuest(Quest const* quest, bool msg)
else if (msg2 != EQUIP_ERR_OK)
{
SendEquipError(msg2, nullptr, nullptr, srcitem);
PlayDirectSound(QUEST_SOUND_FAILURE, this); // Play failure sound
return false;
}
}