mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
Small type conversion warnings fixed
This commit is contained in:
parent
eee27910ec
commit
fda2353e78
3 changed files with 3 additions and 3 deletions
|
@ -1456,7 +1456,7 @@ void Sapphire::Entity::Player::setCompanion( uint16_t id )
|
|||
sendToInRangeSet( makeActorControl( getId(), ActorControlType::ToggleCompanion, id ), true );
|
||||
}
|
||||
|
||||
uint16_t Sapphire::Entity::Player::getCurrentCompanion() const
|
||||
uint8_t Sapphire::Entity::Player::getCurrentCompanion() const
|
||||
{
|
||||
return m_companionId;
|
||||
}
|
||||
|
|
|
@ -407,7 +407,7 @@ namespace Sapphire::Entity
|
|||
|
||||
void setCompanion( uint16_t id );
|
||||
|
||||
uint16_t getCurrentCompanion() const;
|
||||
uint8_t getCurrentCompanion() const;
|
||||
|
||||
/*! get the current setMount */
|
||||
uint8_t getCurrentMount() const;
|
||||
|
|
|
@ -591,7 +591,7 @@ void EventMgr::resumeScene( Entity::Player& player, uint32_t eventId, uint32_t s
|
|||
auto resumeEvent = makeZonePacket< FFXIVIpcResumeEventScene2 >( player.getId() );
|
||||
resumeEvent->data().handlerId = eventId;
|
||||
resumeEvent->data().sceneId = static_cast< uint8_t >( scene );
|
||||
resumeEvent->data().numOfArgs = values.size();
|
||||
resumeEvent->data().numOfArgs = static_cast< uint8_t >( values.size() );
|
||||
int i = 0;
|
||||
for( auto& val : values )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue