diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 3851275c3..488b68c77 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -207,13 +207,13 @@ void Map::AddNotifier(T* , Cell const& , CellPair const& ) template<> void Map::AddNotifier(Player* obj, Cell const& cell, CellPair const& cellpair) { - obj->SheduleAINotify(0); + obj->ScheduleAINotify(0); } template<> void Map::AddNotifier(Creature* obj, Cell const&, CellPair const&) { - obj->SheduleAINotify(0); + obj->ScheduleAINotify(0); } void diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 0d68bdb42..0507a3279 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -8092,7 +8092,7 @@ void Unit::SetVisibility(UnitVisibility x) GetViewPoint().Call_UpdateVisibilityForOwner(); UpdateObjectVisibility(); - SheduleAINotify(0); + ScheduleAINotify(0); GetViewPoint().Event_ViewPointVisibilityChanged(); } @@ -10860,7 +10860,7 @@ private: Unit& m_owner; }; -void Unit::SheduleAINotify(uint32 delay) +void Unit::ScheduleAINotify(uint32 delay) { if (!IsAINotifySheduled()) m_Events.AddEvent(new RelocationNotifyEvent(*this), m_Events.CalculateTime(delay)); @@ -10882,5 +10882,5 @@ void Unit::OnRelocated() GetViewPoint().Call_UpdateVisibilityForOwner(); UpdateObjectVisibility(); } - SheduleAINotify(World::GetRelocationAINotifyDelay()); + ScheduleAINotify(World::GetRelocationAINotifyDelay()); } diff --git a/src/game/Unit.h b/src/game/Unit.h index 43b78747d..264031238 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1954,7 +1954,7 @@ class MANGOS_DLL_SPEC Unit : public WorldObject // Movement info MovementInfo m_movementInfo; - void SheduleAINotify(uint32 delay); + void ScheduleAINotify(uint32 delay); bool IsAINotifySheduled() const { return m_AINotifySheduled;} void _SetAINotifySheduled(bool on) { m_AINotifySheduled = on;} // only for call from RelocationNotifyEvent class code void OnRelocated(); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index dc50974bf..2a5d31cf7 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11193" + #define REVISION_NR "11194" #endif // __REVISION_NR_H__