[7598] Implement proper hide out of range (at another map) transports. Remove duplicate name field. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -56,7 +56,7 @@ class TransportPath
|
||||
std::vector<PathNode> i_nodes;
|
||||
};
|
||||
|
||||
class Transport : private GameObject
|
||||
class Transport : protected GameObject
|
||||
{
|
||||
public:
|
||||
explicit Transport();
|
||||
@@ -83,7 +83,6 @@ class Transport : private GameObject
|
||||
typedef std::set<Player*> PlayerSet;
|
||||
PlayerSet const& GetPassengers() const { return m_passengers; }
|
||||
|
||||
std::string m_name;
|
||||
private:
|
||||
struct WayPoint
|
||||
{
|
||||
@@ -114,6 +113,7 @@ class Transport : private GameObject
|
||||
|
||||
private:
|
||||
void TeleportTransport(uint32 newMapid, float x, float y, float z);
|
||||
void UpdateForMap(Map const* map);
|
||||
WayPointMap::iterator GetNextWayPoint();
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user