Fixed bug (sgMake2DLine actually returns a 3d vector).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
585b3efeb3
commit
12ee22767c
@ -341,7 +341,7 @@ int Track::spatialToTrack
|
||||
p1 = PREV; p2 = SECTOR;
|
||||
}
|
||||
|
||||
sgVec2 line_eqn;
|
||||
sgVec3 line_eqn;
|
||||
sgVec2 tmp;
|
||||
|
||||
sgMake2DLine ( line_eqn, m_driveline[p1], m_driveline[p2] );
|
||||
|
Loading…
x
Reference in New Issue
Block a user