Core: fix build
This commit is contained in:
@@ -641,15 +641,15 @@ class Creature : public Unit, public GridObject<Creature>, public MapObject
|
||||
void GetTransportHomePosition(float &x, float &y, float &z, float &ori) { m_transportHomePosition.GetPosition(x, y, z, ori); }
|
||||
Position GetTransportHomePosition() { return m_transportHomePosition; }
|
||||
|
||||
uint32 GetWaypointPath(){return m_path_id;}
|
||||
uint32 GetWaypointPath() const { return m_path_id; }
|
||||
void LoadPath(uint32 pathid) { m_path_id = pathid; }
|
||||
|
||||
uint32 GetCurrentWaypointID() const { return m_waypointID; }
|
||||
void UpdateWaypointID(uint32 wpID) { m_waypointID = wpID; }
|
||||
|
||||
void SearchFormation();
|
||||
CreatureGroup* GetFormation() {return m_formation;}
|
||||
void SetFormation(CreatureGroup* formation) {m_formation = formation;}
|
||||
CreatureGroup* GetFormation() { return m_formation; }
|
||||
void SetFormation(CreatureGroup* formation) { m_formation = formation; }
|
||||
|
||||
Unit* SelectVictim();
|
||||
|
||||
@@ -721,10 +721,10 @@ class Creature : public Unit, public GridObject<Creature>, public MapObject
|
||||
CreatureData const* m_creatureData;
|
||||
|
||||
uint16 m_LootMode; // Bitmask (default: LOOT_MODE_DEFAULT) that determines what loot will be lootable
|
||||
uint32 guid_transport;
|
||||
|
||||
bool IsInvisibleDueToDespawn() const;
|
||||
bool CanAlwaysSee(WorldObject const* obj) const;
|
||||
|
||||
private:
|
||||
void ForcedDespawn(uint32 timeMSToDespawn = 0);
|
||||
|
||||
|
||||
@@ -450,7 +450,7 @@ class npc_ritual_channeler : public CreatureScript
|
||||
|
||||
if (paralyzeTimer <= diff)
|
||||
{
|
||||
if (Player* victim = ObjectAccessor::GetPlayer(*me, instance->GetData64(DATA_SACRIFICED_PLAYER)))
|
||||
if (Unit* victim = ObjectAccessor::GetUnit(*me, instance->GetData64(DATA_SACRIFICED_PLAYER)))
|
||||
DoCast(victim, SPELL_PARALYZE, false);
|
||||
|
||||
paralyzeTimer = 200;
|
||||
|
||||
Reference in New Issue
Block a user