[7403] much more unneeded includes removed Author: balrok

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-08 13:05:56 -06:00
parent 56416558fa
commit 328345ac1a
72 changed files with 19 additions and 141 deletions
+2 -3
View File
@@ -21,7 +21,6 @@
#ifndef TRINITY_TRAVELLER_H
#define TRINITY_TRAVELLER_H
#include "MapManager.h"
#include "Creature.h"
#include "Player.h"
#include <cassert>
@@ -89,7 +88,7 @@ inline float Traveller<Creature>::Speed()
template<>
inline void Traveller<Creature>::Relocation(float x, float y, float z, float orientation)
{
MapManager::Instance().GetMap(i_traveller.GetMapId(), &i_traveller)->CreatureRelocation(&i_traveller, x, y, z, orientation);
i_traveller.GetMap()->CreatureRelocation(&i_traveller, x, y, z, orientation);
}
template<>
@@ -143,7 +142,7 @@ inline float Traveller<Player>::GetMoveDestinationTo(float x, float y, float z)
template<>
inline void Traveller<Player>::Relocation(float x, float y, float z, float orientation)
{
MapManager::Instance().GetMap(i_traveller.GetMapId(), &i_traveller)->PlayerRelocation(&i_traveller, x, y, z, orientation);
i_traveller.GetMap()->PlayerRelocation(&i_traveller, x, y, z, orientation);
}
template<>