mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
Fix formatting
This commit is contained in:
parent
7998448574
commit
ebfe0b4a60
2 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue