Core/Texts:
* Fix creautre text with gender female * Small cleanUp * ObjectMgr.cpp/ObjectMgr.h part from joschi
This commit is contained in:
1 parent
394ac748f8
commit
5caf6aad98
8 files changed
+31
-28
No files matched your search
@@ -299,8 +299,8 @@ void WorldSession::HandleNpcTextQueryOpcode(WorldPacket& recvData)
|
||||
BroadcastText const* bct = sObjectMgr->GetBroadcastText(gossip->Options[i].BroadcastTextID);
|
||||
if (bct)
|
||||
{
|
||||
ObjectMgr::GetLocaleString(bct->MaleText, locale, text0[i]);
|
||||
ObjectMgr::GetLocaleString(bct->FemaleText, locale, text1[i]);
|
||||
text0[i] = bct->GetText(locale, GENDER_MALE, true);
|
||||
text1[i] = bct->GetText(locale, GENDER_FEMALE, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user