Fixed Ais crashing into the corner of Fort Magma - though on the other
hand it's not driving as competitive in other tracks now (e.g. math class). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
fdd4739d94
commit
eb82e6caff
@ -1881,7 +1881,7 @@ void SkiddingAI::findNonCrashingPoint(Vec3 *aim_position, int *last_node)
|
||||
|
||||
//If we are outside, the previous node is what we are looking for
|
||||
if ( distance + m_kart_width * 0.5f
|
||||
> QuadGraph::get()->getNode(*last_node).getPathWidth() )
|
||||
> QuadGraph::get()->getNode(*last_node).getPathWidth()*0.5f )
|
||||
{
|
||||
*aim_position = QuadGraph::get()->getQuadOfNode(*last_node)
|
||||
.getCenter();
|
||||
|
Loading…
x
Reference in New Issue
Block a user