Core/DataStores: Fixed db2 structures after 7.3.5
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Game.Chat
|
||||
{
|
||||
BroadcastTextRecord bct = CliDB.BroadcastTextStorage.LookupByKey(_textId);
|
||||
var packet = new ChatPkt();
|
||||
packet.Initialize(_msgType, bct != null ? (Language)bct.Language : Language.Universal, _source, _target, bct != null ? Global.DB2Mgr.GetBroadcastTextValue(bct, locale, _gender) : "", _achievementId, "", locale);
|
||||
packet.Initialize(_msgType, bct != null ? (Language)bct.LanguageID : Language.Universal, _source, _target, bct != null ? Global.DB2Mgr.GetBroadcastTextValue(bct, locale, _gender) : "", _achievementId, "", locale);
|
||||
return packet;
|
||||
}
|
||||
|
||||
|
||||
@@ -203,7 +203,7 @@ namespace Game
|
||||
BroadcastTextRecord bct = CliDB.BroadcastTextStorage.LookupByKey(textEntry.BroadcastTextId);
|
||||
if (bct != null)
|
||||
{
|
||||
uint broadcastTextSoundId = bct.SoundID[source.GetGender() == Gender.Female ? 1 : 0];
|
||||
uint broadcastTextSoundId = bct.SoundEntriesID[source.GetGender() == Gender.Female ? 1 : 0];
|
||||
if (broadcastTextSoundId != 0)
|
||||
finalSound = broadcastTextSoundId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user