1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 14:57:44 +00:00

Fix formatting

This commit is contained in:
Perize 2017-12-09 13:14:06 +09:00
parent 7998448574
commit ebfe0b4a60
2 changed files with 3 additions and 3 deletions

View file

@ -74,8 +74,8 @@ public:
const uint8_t * getDataAt(uint16_t pos) const
{
assert(m_segHdr.size > pos);
return reinterpret_cast< const uint8_t* >(&m_dataBuf[0] + pos);
assert( m_segHdr.size > pos );
return reinterpret_cast< const uint8_t* >( &m_dataBuf[0] + pos );
}
void setHeader( uint16_t size, uint16_t type, uint32_t id1, uint32_t id2, uint16_t subType, uint32_t unknown = 0xFED2E000 );

View file

@ -603,7 +603,7 @@ void Core::Network::GameConnection::performNoteHandler( const Packets::GamePacke
{
GamePacketNew< FFXIVIpcPerformNote, ServerZoneIpcType > performPacket( player.getId() );
auto inVal = inPacket.getDataAt(0x20);
auto inVal = inPacket.getDataAt( 0x20 );
memcpy( &performPacket.data().data[0], inVal, 32 );
player.sendToInRangeSet( performPacket );