Removed unused variables in WaypointMovementGenerator

This commit is contained in:
Yehonal
2017-09-18 15:12:53 +02:00
parent 2b2e299ccc
commit 59eb9a56a8

View File

@@ -287,8 +287,6 @@ void FlightPathMovementGenerator::LoadPath(Player* player)
TaxiPathNodeList const& nodes = sTaxiPathNodesByPath[path]; TaxiPathNodeList const& nodes = sTaxiPathNodesByPath[path];
if (!nodes.empty()) if (!nodes.empty())
{ {
TaxiPathNodeEntry const* start = nodes[0];
TaxiPathNodeEntry const* end = nodes[nodes.size() - 1];
for (uint32 i = 0; i < nodes.size(); ++i) for (uint32 i = 0; i < nodes.size(); ++i)
i_path.push_back(nodes[i]); i_path.push_back(nodes[i]);
} }