allow animations to pause on low power

closes #2949
This commit is contained in:
Matthias Mailänder
2014-04-20 13:30:03 +02:00
parent 9d02118e51
commit 01a3162725
15 changed files with 47 additions and 20 deletions

View File

@@ -46,7 +46,7 @@ namespace OpenRA.Traits
{
get { return anims[""].Animation; }
protected set { anims[""] = new AnimationWithOffset(value,
anims[""].OffsetFunc, anims[""].DisableFunc, anims[""].ZOffset); }
anims[""].OffsetFunc, anims[""].DisableFunc, anims[""].Paused, anims[""].ZOffset); }
}
RenderSpritesInfo Info;