Core/DB: Rename SoundEntriesID to SoundKitID in BroadcastText
Port From (https://github.com/TrinityCore/TrinityCore/commit/a54c51c362426613be658e4a471b8fc866e82d57)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user