Fixed compilation error when using AI_DEBUG, thanks to Kinus.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -364,7 +364,7 @@ void DefaultAIController::handleSteering(float dt)
|
||||
.getCenter());
|
||||
|
||||
#ifdef AI_DEBUG
|
||||
m_debug_sphere->setPosition(QuadGraph::get()->getQuad(next)
|
||||
m_debug_sphere->setPosition(QuadGraph::get()->getQuadOfNode(next)
|
||||
.getCenter().toIrrVector());
|
||||
std::cout << "- Outside of road: steer to center point." <<
|
||||
std::endl;
|
||||
|
||||
Reference in New Issue
Block a user