Core/Entities: Phase Rework (main commit)

This commit is contained in:
Ovahlord committed 2018-03-08 22:58:50 +01:00
1 parent 4a268b3fd3
commit e44bb5f387
79 files changed
+1738 -851

No files matched your search

+2 -1
View File
@@ -27,6 +27,7 @@
#include "Map.h"
#include "Player.h"
#include "Pet.h"
#include "PhasingHandler.h"
#include "WorldSession.h"
#include "Opcodes.h"
#include "ScriptReloadMgr.h"
@@ -713,7 +714,7 @@ void InstanceScript::UpdatePhasing()
Map::PlayerList const& players = instance->GetPlayers();
for (Map::PlayerList::const_iterator itr = players.begin(); itr != players.end(); ++itr)
if (Player* player = itr->GetSource())
player->SendUpdatePhasing();
PhasingHandler::SendToPlayer(player);
}
void InstanceScript::UpdateCombatResurrection(uint32 diff)