Bugfix: dimension of kart were computed incorrectly, resulting in
the physics model having a wrong size. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
179f7331fe
commit
c4e27f1a7a
@ -153,7 +153,7 @@ void KartProperties::load(const std::string &filename, const std::string &node,
|
||||
ssgStripify(m_model);
|
||||
Vec3 min, max;
|
||||
SSGHelp::MinMax(m_model, &min, &max);
|
||||
m_kart_width = max.getX()-min.getY();
|
||||
m_kart_width = max.getX()-min.getX();
|
||||
m_kart_length = max.getY()-min.getY();
|
||||
m_kart_height = max.getZ()-min.getZ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user