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

Changed 'u3b' to 'isGm' and made it a bool

This commit is contained in:
JeidoUran 2019-01-06 04:48:24 +01:00
parent 4678cfde3a
commit 12c053cdda
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ struct FFXIVIpcTell :
uint16_t u2b;
uint8_t preName;
uint8_t u3a;
uint8_t u3b; //Setting this to 1 marks the tell as a GM tell
bool isGm;
char receipientName[32];
char msg[1031];
};

View file

@ -658,7 +658,7 @@ void Sapphire::Network::GameConnection::tellHandler( FrameworkPtr pFw,
//tellPacket.data().u2b = 0x40;
if( player.isActingAsGm() )
{
tellPacket->data().u3b = 0x01;
tellPacket->data().isGm = true;
}
pTargetPlayer->queueChatPacket( tellPacket );