fixed flames; fixed ftur 'rotation'; fixed repair cursor hotspot

This commit is contained in:
Chris Forbes
2010-01-22 23:27:51 +13:00
parent cef25cf192
commit a67fc5ba76
9 changed files with 38 additions and 14 deletions

View File

@@ -77,8 +77,9 @@ namespace OpenRa.Effects
var move = speed * -float2.FromAngle((float)angle);
Pos += move;
if (Projectile.Animates)
world.AddFrameEndTask(w => w.Add(new Smoke(w, (Pos - 1.5f * move - new int2( 0, Altitude )).ToInt2())));
if (Projectile.Trail != null)
world.AddFrameEndTask(w => w.Add(
new Smoke(w, (Pos - 1.5f * move - new int2( 0, Altitude )).ToInt2(), Projectile.Trail)));
// todo: running out of fuel
}