Convert helicopter activities to world coords.

This commit is contained in:
Paul Chote
2013-07-20 19:49:39 +12:00
parent 712e13b1e7
commit 179f97a598
6 changed files with 53 additions and 47 deletions

View File

@@ -104,7 +104,7 @@ namespace OpenRA.Mods.RA
var helicopter = newUnit.TraitOrDefault<Helicopter>();
if (helicopter != null)
{
newUnit.QueueActivity(new HeliFly(Util.CenterOfCell(rp.rallyPoint)));
newUnit.QueueActivity(new HeliFly(rp.rallyPoint));
return rp.rallyPoint;
}