1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-24 13:47:46 +00:00
This commit is contained in:
Perize 2017-11-22 10:13:49 +09:00
parent 70668727df
commit 01060e20c9
2 changed files with 3 additions and 2 deletions

View file

@ -136,7 +136,8 @@ namespace Packets {
IPCTYPE_UNK_320 = 0x0207, // updated 4.1
IPCTYPE_UNK_322 = 0x0209, // updated 4.1
ActorGauge = 0x249
ActorGauge = 0x0249,
PerformNote = 0x0252,
};

View file

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