From 9d407561dcc6f38875026ef2cf8e0adfcac04b4b Mon Sep 17 00:00:00 2001 From: hikerstk Date: Wed, 3 Jun 2009 13:41:02 +0000 Subject: [PATCH] Fixed compilation problem (missing function getKartWidth). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3586 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/karts/kart.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/karts/kart.hpp b/src/karts/kart.hpp index a0632ed82..86c6e561a 100644 --- a/src/karts/kart.hpp +++ b/src/karts/kart.hpp @@ -225,6 +225,9 @@ public: /** Returns the height of the kart. */ float getKartHeight () const {return m_kart_properties->getKartModel()->getHeight(); } + /** Returns the width of the kart. */ + float getKartWidth () const + {return m_kart_properties->getKartModel()->getWidth(); } btKart *getVehicle () const {return m_vehicle; } btUprightConstraint *getUprightConstraint() const {return m_uprightConstraint;} void createPhysics ();