- view bounds (now split from collision bounds) was still being used for bge physics in one place, comparison was incorrectly treating it as a flag too.

- cleanup Object struct - remove pad and unused flags, convert some shot's to char's, saving 24 bytes.
This commit is contained in:
2011-11-05 02:30:25 +00:00
parent 057bf2a02b
commit b0adf37ef9
6 changed files with 25 additions and 27 deletions

View File

@@ -1648,7 +1648,7 @@ void BL_CreatePhysicsObjectNew(KX_GameObject* gameobj,
}
objprop.m_concave = (blenderobject->boundtype & 4) != 0;
objprop.m_concave = (blenderobject->collision_boundtype == OB_BOUND_TRIANGLE_MESH);
switch (physics_engine)
{