cleanup the rubble

This commit is contained in:
Matthias Mailänder
2013-08-17 23:56:12 +02:00
parent 009f6a3f70
commit bf521518af
2 changed files with 5 additions and 5 deletions

View File

@@ -33,8 +33,8 @@ namespace OpenRA.Mods.RA.Render
var rs = self.Trait<RenderSprites>();
overlay = new Animation(rs.GetImage(self));
overlay.Play(info.Sequence);
rs.anims.Add("make_overlay_{0}".F(info.Sequence),
overlay.PlayThen(info.Sequence, () => buildComplete = false);
rs.anims.Add("make_overlay_{0}".F(info.Sequence),
new AnimationWithOffset(overlay, null, () => !buildComplete, null));
}

View File

@@ -223,7 +223,7 @@ conyarda:
Start: 4139
Length: 12
Offset: -48,64
Tick: 200
Tick: 170
damaged-idle: DATA.R8
Start: 2560
Offset: -48,64
@@ -759,7 +759,7 @@ conyardh:
Start: 4139
Length: 12
Offset: -48,64
Tick: 200
Tick: 170
damaged-idle: DATA.R8
Start: 2720
Offset: -48,64
@@ -1117,7 +1117,7 @@ conyardo:
Start: 4139
Length: 12
Offset: -48,64
Tick: 200
Tick: 170
damaged-idle: DATA.R8
Start: 2880
Offset: -48,64