Fix engine to respect lack of castshadow flag in actors.

Remove unused variable.

This was SVN commit r11499.
This commit is contained in:
Ykkrosh
2012-04-14 17:31:18 +00:00
parent 8a5539f349
commit 6410d36a55
2 changed files with 2 additions and 5 deletions
+2 -3
View File
@@ -34,8 +34,7 @@
CObjectBase::CObjectBase(CObjectManager& objectManager)
: m_ObjectManager(objectManager)
{
m_Properties.m_CastShadows = true;
m_Properties.m_AutoFlatten = false;
m_Properties.m_CastShadows = false;
m_Properties.m_FloatOnWater = false;
}
@@ -245,7 +244,7 @@ bool CObjectBase::Load(const VfsPath& pathname)
}
else if (child_name == el_castshadow)
{
m_Properties.m_CastShadows = true; // TODO: this is the default, so it's a bit useless
m_Properties.m_CastShadows = true;
}
else if (child_name == el_float)
{