Fixed minor issue in previous commit

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-09-12 00:07:41 +00:00
parent 2311b11b90
commit d8a5d710e9

View File

@ -73,8 +73,7 @@ void TrackSector::update(const Vec3 &xyz, Kart* kart, Track* track)
QuadGraph::get()->findOutOfRoadSector(xyz,
prev_sector);
}
if(m_current_graph_node != QuadGraph::UNKNOWN_SECTOR)
else
{
// keep the current quad as the latest valid one IF the player has one of the required checklines
const std::vector<int>& checkline_requirements =