mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Fix engine to respect lack of castshadow flag in actors.
Remove unused variable. This was SVN commit r11499.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user