mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Core/Garrisons: Basics for garrisons
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "Log.h"
|
||||
#include "Corpse.h"
|
||||
#include "Player.h"
|
||||
#include "Garrison.h"
|
||||
#include "SpellAuras.h"
|
||||
#include "MapManager.h"
|
||||
#include "Transport.h"
|
||||
@@ -131,7 +132,11 @@ void WorldSession::HandleMoveWorldportAckOpcode()
|
||||
if (!seamlessTeleport)
|
||||
GetPlayer()->SendInitialPacketsAfterAddToMap();
|
||||
else
|
||||
{
|
||||
GetPlayer()->UpdateVisibilityForPlayer();
|
||||
if (Garrison* garrison = GetPlayer()->GetGarrison())
|
||||
garrison->SendRemoteInfo();
|
||||
}
|
||||
|
||||
// flight fast teleport case
|
||||
if (GetPlayer()->GetMotionMaster()->GetCurrentMovementGeneratorType() == FLIGHT_MOTION_TYPE)
|
||||
|
||||
Reference in New Issue
Block a user