Enable the EMP overlay animation in TS.

This commit is contained in:
Zimmermann Gyula
2015-07-03 01:55:21 +02:00
parent fc5e5022d5
commit 4933a88c64
3 changed files with 19 additions and 0 deletions

View File

@@ -143,7 +143,10 @@ namespace OpenRA.Mods.Common.Traits
}
pxPos += info.Offset;
// HACK: Because WorldRenderer.Position() does not care about terrain height at the location
var renderPos = wr.Position(pxPos);
renderPos = new WPos(renderPos.X, renderPos.Y + self.CenterPosition.Z, self.CenterPosition.Z);
anim.Tick();