Bugfix: forgot to set the actual type.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-11-25 09:26:29 +00:00
parent c136bc2bd0
commit 50c451ac35

View File

@ -43,8 +43,9 @@ using namespace irr;
PhysicalObject::Settings::Settings(BodyTypes type, float radius, float mass) PhysicalObject::Settings::Settings(BodyTypes type, float radius, float mass)
{ {
init(); init();
m_mass = mass; m_body_type = type;
m_radius = radius; m_mass = mass;
m_radius = radius;
} // Settings } // Settings
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------