feat(Core/Unit): anticheat helper (#16115)
this covers a case with SPELL_AURA_CONTROL_VEHICLE being used. commonly in dk starter spot and northrend.
This commit is contained in:
@@ -20164,7 +20164,10 @@ void Unit::_ExitVehicle(Position const* exitPosition)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (player)
|
if (player)
|
||||||
|
{
|
||||||
player->ResummonPetTemporaryUnSummonedIfAny();
|
player->ResummonPetTemporaryUnSummonedIfAny();
|
||||||
|
player->SetCanTeleport(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Unit::BuildMovementPacket(ByteBuffer* data) const
|
void Unit::BuildMovementPacket(ByteBuffer* data) const
|
||||||
|
|||||||
Reference in New Issue
Block a user