mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Fixed titles, PLAYER__FIELD_KNOWN_TITLES is now 128 bits long
This commit is contained in:
parent
8e32c8ca76
commit
600a596796
3 changed files with 27 additions and 5 deletions
|
|
@ -1482,9 +1482,9 @@ void WorldSession::HandleChooseTitleOpcode( WorldPacket & recv_data )
|
|||
recv_data >> title;
|
||||
|
||||
// -1 at none
|
||||
if(title > 0 && title < 64)
|
||||
if(title > 0 && title < 128)
|
||||
{
|
||||
if(!GetPlayer()->HasFlag64(PLAYER__FIELD_KNOWN_TITLES,uint64(1) << title))
|
||||
if(!GetPlayer()->HasTitle(title))
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue