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:
parent
4678cfde3a
commit
12c053cdda
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ struct FFXIVIpcTell :
|
||||||
uint16_t u2b;
|
uint16_t u2b;
|
||||||
uint8_t preName;
|
uint8_t preName;
|
||||||
uint8_t u3a;
|
uint8_t u3a;
|
||||||
uint8_t u3b; //Setting this to 1 marks the tell as a GM tell
|
bool isGm;
|
||||||
char receipientName[32];
|
char receipientName[32];
|
||||||
char msg[1031];
|
char msg[1031];
|
||||||
};
|
};
|
||||||
|
|
|
@ -658,7 +658,7 @@ void Sapphire::Network::GameConnection::tellHandler( FrameworkPtr pFw,
|
||||||
//tellPacket.data().u2b = 0x40;
|
//tellPacket.data().u2b = 0x40;
|
||||||
if( player.isActingAsGm() )
|
if( player.isActingAsGm() )
|
||||||
{
|
{
|
||||||
tellPacket->data().u3b = 0x01;
|
tellPacket->data().isGm = true;
|
||||||
}
|
}
|
||||||
pTargetPlayer->queueChatPacket( tellPacket );
|
pTargetPlayer->queueChatPacket( tellPacket );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue