diff --git a/src/tracks/check_manager.cpp b/src/tracks/check_manager.cpp index f0d245939..a76ca5009 100644 --- a/src/tracks/check_manager.cpp +++ b/src/tracks/check_manager.cpp @@ -39,7 +39,6 @@ CheckManager::CheckManager(const XMLNode &node, Track *track) m_all_checks.push_back(cl); if(cl->getType()==CheckStructure::CT_NEW_LAP) { - track->getQuadGraph().setStartCoordinate(*cl); track->setStartCoordinates(cl->getLine2D()); } } // checkline diff --git a/src/tracks/quad_graph.hpp b/src/tracks/quad_graph.hpp index fdfcfa945..b82871387 100644 --- a/src/tracks/quad_graph.hpp +++ b/src/tracks/quad_graph.hpp @@ -85,7 +85,6 @@ public: const video::SColor &fill_color =video::SColor(127, 255, 255, 255) ); void mapPoint2MiniMap(const Vec3 &xyz, Vec3 *out) const; - void setStartCoordinate(const CheckLine &cl); /** Returns the number of nodes in the graph. */ unsigned int getNumNodes() const { return m_all_nodes.size(); }