reintroduce separate start vector for 3-strikes-battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8417a50796
commit
39ec20c4b6
@ -695,6 +695,12 @@ void Track::loadTrackModel()
|
|||||||
int bits = node->getXYZ(&xyz);
|
int bits = node->getXYZ(&xyz);
|
||||||
// Height is needed if bit 2 (for z) is not set
|
// Height is needed if bit 2 (for z) is not set
|
||||||
itemCommand(xyz, type, /* need_height */ !XMLNode::hasZ(bits) );
|
itemCommand(xyz, type, /* need_height */ !XMLNode::hasZ(bits) );
|
||||||
|
}
|
||||||
|
else if (name=="start")
|
||||||
|
{
|
||||||
|
core::vector3df xyz(0,0,0);
|
||||||
|
node->getXYZ(&xyz);
|
||||||
|
m_start_positions.push_back(Vec3(xyz.X, xyz.Y, xyz.Z));
|
||||||
}
|
}
|
||||||
else if(name=="animations")
|
else if(name=="animations")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user