Core/DB: Rename SoundEntriesID to SoundKitID in BroadcastText

Port From (https://github.com/TrinityCore/TrinityCore/commit/a54c51c362426613be658e4a471b8fc866e82d57)
This commit is contained in:
hondacrx
2021-11-03 17:11:24 -04:00
parent 418a0ec8ca
commit cd3ef428e1
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ namespace Game
BroadcastTextRecord bct = CliDB.BroadcastTextStorage.LookupByKey(textEntry.BroadcastTextId);
if (bct != null)
{
uint broadcastTextSoundId = bct.SoundEntriesID[source.GetGender() == Gender.Female ? 1 : 0];
uint broadcastTextSoundId = bct.SoundKitID[source.GetGender() == Gender.Female ? 1 : 0];
if (broadcastTextSoundId != 0)
finalSound = broadcastTextSoundId;
}