1
0
forked from 0ad/0ad

Props no longer play walk anims when their parent is idle.

This was SVN commit r2219.
This commit is contained in:
MarkT 2005-05-03 04:48:12 +00:00
parent c8cd52578a
commit f50b7c6776

View File

@ -191,8 +191,8 @@ bool CObjectEntry::BuildRandomVariant(CObjectBase::variation_key& vars, CObjectB
{
CModel* propmodel = oe->m_Model->Clone();
m_Model->AddProp(proppoint, propmodel);
if (oe->m_WalkAnim)
propmodel->SetAnimation(oe->m_WalkAnim);
if (oe->m_IdleAnim)
propmodel->SetAnimation(oe->m_IdleAnim);
}
else
{