mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
Small fixes.
This commit is contained in:
parent
d739502fcc
commit
b5548f9f12
6 changed files with 60 additions and 55 deletions
|
|
@ -1512,7 +1512,7 @@ void AchievementMgr::CompletedAchievement(AchievementEntry const* achievement)
|
|||
return;
|
||||
|
||||
// titles
|
||||
if(uint32 titleId = reward->titleId[GetPlayer()->GetTeam() == HORDE?0:1])
|
||||
if(uint32 titleId = reward->titleId[GetPlayer()->GetTeam() == HORDE ? 0 : 1])
|
||||
{
|
||||
if(CharTitlesEntry const* titleEntry = sCharTitlesStore.LookupEntry(titleId))
|
||||
GetPlayer()->SetTitle(titleEntry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue