[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<>
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

View file

@ -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());
}

View file

@ -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();

View file

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