compile fix
This commit is contained in:
1 parent
dfb6ab0eb9
commit
7ab4915b13
2 files changed
+2
-3
No files matched your search
@@ -183,7 +183,7 @@ bool ItemChatLink::ValidateName(char* buffer, char const* context)
|
||||
{
|
||||
ChatLink::ValidateName(buffer, context);
|
||||
|
||||
char* suffixStrings = _suffix ? _suffix->nameSuffix : (_property ? _property->nameSuffix : nullptr);
|
||||
char* const* suffixStrings = _suffix ? _suffix->nameSuffix : (_property ? _property->nameSuffix : nullptr);
|
||||
|
||||
bool res = (FormatName(LOCALE_enUS, nullptr, suffixStrings) == buffer);
|
||||
if (!res)
|
||||
|
||||
@@ -5198,7 +5198,6 @@ void Player::UpdateLocalChannels(uint32 newZone)
|
||||
return;
|
||||
|
||||
std::string current_zone_name = current_zone->area_name;
|
||||
|
||||
for (uint32 i = 0; i < sChatChannelsStore.GetNumRows(); ++i)
|
||||
{
|
||||
ChatChannelsEntry const* channelEntry = sChatChannelsStore.LookupEntry(i);
|
||||
@@ -5246,7 +5245,7 @@ void Player::UpdateLocalChannels(uint32 newZone)
|
||||
}
|
||||
}
|
||||
else
|
||||
joinChannel = cMgr->GetJoinChannel(channelEntry->pattern[m_session->GetSessionDbcLocale()], channelEntry->ChannelID);
|
||||
joinChannel = cMgr->GetJoinChannel(channel->pattern, channel->ChannelID);
|
||||
}
|
||||
else
|
||||
removeChannel = usedChannel;
|
||||
|
||||
Reference in new issue
Block a user