From c4e27f1a7a305ab16a6f2e29cf486474923eddc2 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 30 Oct 2008 04:12:38 +0000 Subject: [PATCH] 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 --- src/kart_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kart_properties.cpp b/src/kart_properties.cpp index 6c5fa499e..012885da7 100644 --- a/src/kart_properties.cpp +++ b/src/kart_properties.cpp @@ -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();