[11194] Fix the word shedule -> schedule in function name

Signed-off-by: SilverIce <slifeleaf@gmail.com>
This commit is contained in:
kbz 2011-02-22 03:53:29 +02:00
parent 724092d9e5
commit 09c5b49cc4
4 changed files with 7 additions and 7 deletions

View file

@ -207,13 +207,13 @@ void Map::AddNotifier(T* , Cell const& , CellPair const& )
template<> template<>
void Map::AddNotifier(Player* obj, Cell const& cell, CellPair const& cellpair) void Map::AddNotifier(Player* obj, Cell const& cell, CellPair const& cellpair)
{ {
obj->SheduleAINotify(0); obj->ScheduleAINotify(0);
} }
template<> template<>
void Map::AddNotifier(Creature* obj, Cell const&, CellPair const&) void Map::AddNotifier(Creature* obj, Cell const&, CellPair const&)
{ {
obj->SheduleAINotify(0); obj->ScheduleAINotify(0);
} }
void void

View file

@ -8092,7 +8092,7 @@ void Unit::SetVisibility(UnitVisibility x)
GetViewPoint().Call_UpdateVisibilityForOwner(); GetViewPoint().Call_UpdateVisibilityForOwner();
UpdateObjectVisibility(); UpdateObjectVisibility();
SheduleAINotify(0); ScheduleAINotify(0);
GetViewPoint().Event_ViewPointVisibilityChanged(); GetViewPoint().Event_ViewPointVisibilityChanged();
} }
@ -10860,7 +10860,7 @@ private:
Unit& m_owner; Unit& m_owner;
}; };
void Unit::SheduleAINotify(uint32 delay) void Unit::ScheduleAINotify(uint32 delay)
{ {
if (!IsAINotifySheduled()) if (!IsAINotifySheduled())
m_Events.AddEvent(new RelocationNotifyEvent(*this), m_Events.CalculateTime(delay)); m_Events.AddEvent(new RelocationNotifyEvent(*this), m_Events.CalculateTime(delay));
@ -10882,5 +10882,5 @@ void Unit::OnRelocated()
GetViewPoint().Call_UpdateVisibilityForOwner(); GetViewPoint().Call_UpdateVisibilityForOwner();
UpdateObjectVisibility(); UpdateObjectVisibility();
} }
SheduleAINotify(World::GetRelocationAINotifyDelay()); ScheduleAINotify(World::GetRelocationAINotifyDelay());
} }

View file

@ -1954,7 +1954,7 @@ class MANGOS_DLL_SPEC Unit : public WorldObject
// Movement info // Movement info
MovementInfo m_movementInfo; MovementInfo m_movementInfo;
void SheduleAINotify(uint32 delay); void ScheduleAINotify(uint32 delay);
bool IsAINotifySheduled() const { return m_AINotifySheduled;} bool IsAINotifySheduled() const { return m_AINotifySheduled;}
void _SetAINotifySheduled(bool on) { m_AINotifySheduled = on;} // only for call from RelocationNotifyEvent class code void _SetAINotifySheduled(bool on) { m_AINotifySheduled = on;} // only for call from RelocationNotifyEvent class code
void OnRelocated(); void OnRelocated();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11193" #define REVISION_NR "11194"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__