aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Texts/CreatureTextMgr.cpp
diff options
context:
space:
mode:
authorfunjoker <funjoker109@gmail.com>2021-11-03 12:05:43 +0100
committerfunjoker <funjoker109@gmail.com>2021-11-03 12:05:43 +0100
commita54c51c362426613be658e4a471b8fc866e82d57 (patch)
tree585a232bbe5d8e5d4a6b65211b387a174f62777c /src/server/game/Texts/CreatureTextMgr.cpp
parent1e52f9fdf566320fd586127692c5a1c16e34f741 (diff)
Core/DB: Rename SoundEntriesID to SoundKitID in BroadcastText
This is the correct naming
Diffstat (limited to 'src/server/game/Texts/CreatureTextMgr.cpp')
-rw-r--r--src/server/game/Texts/CreatureTextMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Texts/CreatureTextMgr.cpp b/src/server/game/Texts/CreatureTextMgr.cpp
index 754b66f45d1..9c80391d551 100644
--- a/src/server/game/Texts/CreatureTextMgr.cpp
+++ b/src/server/game/Texts/CreatureTextMgr.cpp
@@ -215,7 +215,7 @@ uint32 CreatureTextMgr::SendChat(Creature* source, uint8 textGroup, WorldObject
finalPlayType = playType;
}
else if (BroadcastTextEntry const* bct = sBroadcastTextStore.LookupEntry(iter->BroadcastTextId))
- if (uint32 broadcastTextSoundId = bct->SoundEntriesID[source->getGender() == GENDER_FEMALE ? 1 : 0])
+ if (uint32 broadcastTextSoundId = bct->SoundKitID[source->getGender() == GENDER_FEMALE ? 1 : 0])
finalSound = broadcastTextSoundId;
if (range == TEXT_RANGE_NORMAL)