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

More formatting

This commit is contained in:
Rushi 2022-01-16 23:19:10 +01:00
parent 637fe3614d
commit c19df0e637

View file

@ -1165,7 +1165,7 @@ void Sapphire::Entity::Player::unlockMount( uint32_t mountId )
auto& exdData = Common::Service< Data::ExdData >::ref(); auto& exdData = Common::Service< Data::ExdData >::ref();
auto mount = exdData.getRow< Component::Excel::Mount >( mountId ); auto mount = exdData.getRow< Component::Excel::Mount >( mountId );
if ( mount->data().MountOrder == -1 ) if( mount->data().MountOrder == -1 )
return; return;
m_mountGuide[ mount->data().MountOrder / 8 ] |= ( 1 << ( mount->data().MountOrder % 8 ) ); m_mountGuide[ mount->data().MountOrder / 8 ] |= ( 1 << ( mount->data().MountOrder % 8 ) );
@ -1392,7 +1392,7 @@ void Sapphire::Entity::Player::setTitle( uint16_t titleId )
void Sapphire::Entity::Player::setMaxGearSets( uint8_t amount ) void Sapphire::Entity::Player::setMaxGearSets( uint8_t amount )
{ {
if (amount == 1) if( amount == 1 )
amount = 5; amount = 5;
m_equippedMannequin = amount; m_equippedMannequin = amount;