[7403] much more unneeded includes removed Author: balrok
--HG-- branch : trunk
This commit is contained in:
@@ -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<>
|
||||
|
||||
Reference in New Issue
Block a user