1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 08:07:46 +00:00

Clear zoning type when finishing warp

This commit is contained in:
Lucy 2023-01-24 06:38:05 +01:00
parent 7aa18548f0
commit 9ea3aeac0f

View file

@ -81,6 +81,8 @@ void WarpMgr::finishWarp( Entity::Player& player )
auto zoneInPacket = makeActorControlSelf( player.getId(), Appear, warpType, 0, 0, 0 );
auto SetStatusPacket = makeActorControl( player.getId(), SetStatus, static_cast< uint8_t >( Common::ActorStatus::Idle ) );
player.setZoningType( Common::ZoneingType::None );
if( !player.getGmInvis() )
player.sendToInRangeSet( zoneInPacket );