mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
Fixed a overflow warning and return type error
This commit is contained in:
parent
a8c1741964
commit
f6354736da
3 changed files with 3 additions and 3 deletions
|
@ -188,7 +188,7 @@ bool Core::Db::DbConnection::execute( boost::shared_ptr< Core::Db::PreparedState
|
||||||
catch( std::runtime_error& e )
|
catch( std::runtime_error& e )
|
||||||
{
|
{
|
||||||
g_log.error( e.what() );
|
g_log.error( e.what() );
|
||||||
return nullptr;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -360,7 +360,7 @@ namespace Core {
|
||||||
g_charaDb.directExecute( stmtItemGlobal );
|
g_charaDb.directExecute( stmtItemGlobal );
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlayerMinimal::createInvDbContainer( uint8_t slot ) const
|
void PlayerMinimal::createInvDbContainer( uint16_t slot ) const
|
||||||
{
|
{
|
||||||
auto stmtCreateInv = g_charaDb.getPreparedStatement( Db::CHARA_ITEMINV_INS );
|
auto stmtCreateInv = g_charaDb.getPreparedStatement( Db::CHARA_ITEMINV_INS );
|
||||||
stmtCreateInv->setInt( 1, m_id );
|
stmtCreateInv->setInt( 1, m_id );
|
||||||
|
|
|
@ -150,7 +150,7 @@ namespace Core {
|
||||||
m_gmRank = rank;
|
m_gmRank = rank;
|
||||||
}
|
}
|
||||||
|
|
||||||
void createInvDbContainer( uint8_t slot ) const;
|
void createInvDbContainer( uint16_t slot ) const;
|
||||||
|
|
||||||
uint32_t m_modelEquip[10];
|
uint32_t m_modelEquip[10];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue