1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Bigger than expected;

This commit is contained in:
Maru 2017-10-04 23:30:45 -03:00
parent 6dece1af8c
commit 893e78d16b
2 changed files with 4 additions and 4 deletions

View file

@ -1415,7 +1415,7 @@ void Core::Entity::Player::setIsLogin( bool bIsLogin )
m_bIsLogin = bIsLogin;
}
void Core::Entity::Player::setTitle( uint8_t titleId )
void Core::Entity::Player::setTitle( uint16_t titleId )
{
m_title = titleId;
sendToInRangeSet( ActorControlPacket142( getId(), SetTitle, titleId ), true );

View file

@ -329,7 +329,7 @@ public:
/*! prepares zoning / fades out the screen */
void prepareZoning( uint16_t targetZone, bool fadeOut, uint8_t fadoutTime = 0, uint16_t animation = 0 );
/*! change player's title */
void setTitle( uint8_t titleId );
void setTitle( uint16_t titleId );
void calculateStats() override;
void sendStats();
@ -567,8 +567,8 @@ private:
uint8_t status;
} m_retainerInfo[8];
uint8_t m_title;
uint8_t m_titleList[32];
uint16_t m_title;
uint16_t m_titleList[32];
uint8_t m_achievement[16];
uint8_t m_howTo[33];
uint8_t m_homePoint;