diff options
author | n0n4m3 <none@none> | 2009-12-20 17:39:36 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-20 17:39:36 +0100 |
commit | cc19e731742420615bc7c68144b100b07298fad0 (patch) | |
tree | f382525179450cb425c4ad9cf3d6444a4cee1f93 /src/game/DynamicObject.cpp | |
parent | 851a514f90355d00661b2fd60853ed4623b4b26a (diff) | |
parent | a85544cb9c51e412169afe82a63cec602f71b1bd (diff) |
Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/DynamicObject.cpp')
-rw-r--r-- | src/game/DynamicObject.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/DynamicObject.cpp b/src/game/DynamicObject.cpp index be56b9f5069..1cd85fa0946 100644 --- a/src/game/DynamicObject.cpp +++ b/src/game/DynamicObject.cpp @@ -128,15 +128,15 @@ void DynamicObject::Update(uint32 p_time) if(m_radius) { // TODO: make a timer and update this in larger intervals - CellPair p(MaNGOS::ComputeCellPair(GetPositionX(), GetPositionY())); + CellPair p(Trinity::ComputeCellPair(GetPositionX(), GetPositionY())); Cell cell(p); cell.data.Part.reserved = ALL_DISTRICT; cell.SetNoCreate(); - MaNGOS::DynamicObjectUpdater notifier(*this, caster); + Trinity::DynamicObjectUpdater notifier(*this, caster); - TypeContainerVisitor<MaNGOS::DynamicObjectUpdater, WorldTypeMapContainer > world_object_notifier(notifier); - TypeContainerVisitor<MaNGOS::DynamicObjectUpdater, GridTypeMapContainer > grid_object_notifier(notifier); + TypeContainerVisitor<Trinity::DynamicObjectUpdater, WorldTypeMapContainer > world_object_notifier(notifier); + TypeContainerVisitor<Trinity::DynamicObjectUpdater, GridTypeMapContainer > grid_object_notifier(notifier); CellLock<GridReadGuard> cell_lock(cell, p); cell_lock->Visit(cell_lock, world_object_notifier, *GetMap(), *this, m_radius); |