mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
style
This commit is contained in:
parent
7b701781ad
commit
b19a4ea35d
1 changed files with 4 additions and 2 deletions
|
@ -120,7 +120,8 @@ void Core::Network::GameConnection::reqExamineSearchCommentHandler( const Core::
|
||||||
|
|
||||||
if( pPlayer )
|
if( pPlayer )
|
||||||
{
|
{
|
||||||
if( pPlayer->isActingAsGm() || pPlayer->getZoneId() != player.getZoneId() ) return;
|
if( pPlayer->isActingAsGm() || pPlayer->getZoneId() != player.getZoneId() )
|
||||||
|
return;
|
||||||
|
|
||||||
// retail sends the requester's id as both (isForSelf)
|
// retail sends the requester's id as both (isForSelf)
|
||||||
auto searchInfoPacket = makeZonePacket< FFXIVIpcExamineSearchComment >( player.getId() );
|
auto searchInfoPacket = makeZonePacket< FFXIVIpcExamineSearchComment >( player.getId() );
|
||||||
|
@ -146,7 +147,8 @@ void Core::Network::GameConnection::reqExamineFcInfo( const Core::Network::Packe
|
||||||
|
|
||||||
if( pPlayer )
|
if( pPlayer )
|
||||||
{
|
{
|
||||||
if( pPlayer->isActingAsGm() || pPlayer->getZoneId() != player.getZoneId() ) return;
|
if( pPlayer->isActingAsGm() || pPlayer->getZoneId() != player.getZoneId() )
|
||||||
|
return;
|
||||||
|
|
||||||
// retail sends the requester's id as both (isForSelf)
|
// retail sends the requester's id as both (isForSelf)
|
||||||
auto examineFcInfoPacket = makeZonePacket< FFXIVIpcExamineFreeCompanyInfo >( player.getId() );
|
auto examineFcInfoPacket = makeZonePacket< FFXIVIpcExamineFreeCompanyInfo >( player.getId() );
|
||||||
|
|
Loading…
Add table
Reference in a new issue