Fixed titles, PLAYER__FIELD_KNOWN_TITLES is now 128 bits long

This commit is contained in:
arrai 2008-11-21 20:09:11 +01:00
parent 8e32c8ca76
commit 600a596796
3 changed files with 27 additions and 5 deletions

View file

@ -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