mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 08:27:46 +00:00
check if segmentTargetOverride is nonzero before overriding target
This commit is contained in:
parent
f693fa0a2f
commit
72c071eb07
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void Core::Network::Packets::PacketContainer::fillSendBuffer( std::vector< uint8
|
|||
{
|
||||
auto pPacket = (*it);
|
||||
|
||||
if( pPacket->getSegmentType() == SEGMENTTYPE_IPC )
|
||||
if( m_segmentTargetOverride != 0 && pPacket->getSegmentType() == SEGMENTTYPE_IPC )
|
||||
{
|
||||
pPacket->setTargetActor( m_segmentTargetOverride );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue