1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-25 11:07:45 +00:00

more fixes

This commit is contained in:
goaaats 2017-12-19 18:13:12 +01:00
parent 055a665516
commit 47bd8cfdea
3 changed files with 2 additions and 5 deletions

View file

@ -1338,4 +1338,4 @@ struct FFXIVIpcPerformNote : FFXIVIpcBasePacket<PerformNote>
#endif /*_CORE_NETWORK_PACKETS_SERVER_IPC_H*/ #endif /*_CORE_NETWORK_PACKETS_SERVER_IPC_H*/

View file

@ -378,7 +378,7 @@ void Core::Entity::Player::updateSql()
std::vector< uint8_t > orchestrionVec( sizeof( m_orchestrion ) ); std::vector< uint8_t > orchestrionVec( sizeof( m_orchestrion ) );
memcpy( orchestrionVec.data(), m_orchestrion, sizeof( m_orchestrion ) ); memcpy( orchestrionVec.data(), m_orchestrion, sizeof( m_orchestrion ) );
stmt->setBinary( 42, mountsVec ); stmt->setBinary( 43, orchestrionVec );
stmt->setInt( 44, 0 ); // EquippedMannequin stmt->setInt( 44, 0 ); // EquippedMannequin

View file

@ -303,11 +303,8 @@ void Core::DebugCommandHandler::add( char * data, Entity::Player& player, boost:
// command has parameters, grab the first part // command has parameters, grab the first part
subCommand = tmpCommand.substr( 0, pos ); subCommand = tmpCommand.substr( 0, pos );
else else
{
// no subcommand given // no subcommand given
subCommand = tmpCommand; subCommand = tmpCommand;
return;
}
if( command->getName().length() + 1 + pos + 1 < strlen( data ) ) if( command->getName().length() + 1 + pos + 1 < strlen( data ) )
params = std::string( data + command->getName().length() + 1 + pos + 1 ); params = std::string( data + command->getName().length() + 1 + pos + 1 );