WithCrumbleOverlay for Dune 2000 buildings

This commit is contained in:
Matthias Mailänder
2013-08-17 23:24:47 +02:00
parent 32c3563a04
commit 8c6074a081
8 changed files with 334 additions and 63 deletions

View File

@@ -47,7 +47,7 @@ namespace OpenRA.Mods.RA.Render
var self = init.self;
// Work around a bogus crash
anim.PlayRepeating( NormalizeSequence(self, "idle") );
anim.PlayRepeating(NormalizeSequence(self, "idle"));
self.Trait<IBodyOrientation>().SetAutodetectedFacings(anim.CurrentSequence.Facings);
// Can't call Complete() directly from ctor because other traits haven't been inited yet