mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[Sync] Some minor project sync
This commit is contained in:
parent
7332173b6e
commit
461923f632
35 changed files with 3690 additions and 1585 deletions
|
|
@ -396,7 +396,7 @@ void FlightPathMovementGenerator::Finalize(Player& player)
|
|||
|
||||
if (player.m_taxi.empty())
|
||||
{
|
||||
player.getHostileRefManager().setOnlineOfflineState(true);
|
||||
player.GetHostileRefManager().setOnlineOfflineState(true);
|
||||
if (player.pvpInfo.inHostileArea)
|
||||
player.CastSpell(&player, 2479, true);
|
||||
|
||||
|
|
@ -416,7 +416,7 @@ void FlightPathMovementGenerator::Interrupt(Player& player)
|
|||
|
||||
void FlightPathMovementGenerator::Reset(Player& player)
|
||||
{
|
||||
player.getHostileRefManager().setOnlineOfflineState(false);
|
||||
player.GetHostileRefManager().setOnlineOfflineState(false);
|
||||
player.addUnitState(UNIT_STAT_TAXI_FLIGHT);
|
||||
player.SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_TAXI_FLIGHT);
|
||||
player.SetClientControl(&player, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue