mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
fix some compile warnings
This commit is contained in:
parent
ae89163140
commit
0583459ed2
4 changed files with 7 additions and 4 deletions
|
@ -219,7 +219,7 @@ public:
|
|||
return data;
|
||||
}
|
||||
|
||||
virtual T1 ipcType()
|
||||
T1 ipcType() override
|
||||
{
|
||||
return static_cast< T1 >( m_data._ServerIpcType );
|
||||
};
|
||||
|
|
|
@ -131,7 +131,7 @@ public:
|
|||
/*! update quest ( register it as active quest if new ) */
|
||||
void updateQuest( uint16_t questId, uint8_t sequence );
|
||||
/*! return true if quest is currently active */
|
||||
bool hasQuest( uint16_t questId );
|
||||
bool hasQuest( uint32_t questId );
|
||||
/*! return the current quest sequence */
|
||||
uint8_t getQuestSeq( uint16_t questId );
|
||||
/*! send the quest tracker packet */
|
||||
|
|
|
@ -72,9 +72,9 @@ void Core::Entity::Player::removeQuest( uint16_t questId )
|
|||
|
||||
}
|
||||
|
||||
bool Core::Entity::Player::hasQuest( uint16_t questId )
|
||||
bool Core::Entity::Player::hasQuest( uint32_t questId )
|
||||
{
|
||||
return ( getQuestIndex( questId ) > -1 );
|
||||
return ( getQuestIndex( static_cast< uint16_t>( questId ) ) > -1 );
|
||||
}
|
||||
|
||||
int8_t Core::Entity::Player::getQuestIndex( uint16_t questId )
|
||||
|
|
|
@ -259,6 +259,9 @@ void Core::Network::GameConnection::handlePacket( Core::Network::Packets::FFXIVA
|
|||
case Network::ConnectionType::Chat:
|
||||
handleChatPacket( pPacket );
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue