make more activities cancelable. remove many uses of CurrentActivity is T

This commit is contained in:
Bob
2010-09-22 11:53:58 +12:00
parent e2eae7973b
commit c16a515224
19 changed files with 95 additions and 101 deletions

View File

@@ -164,7 +164,7 @@ namespace OpenRA.Traits
if (mobile != null)
{
var alt = new float2(0, -mobile.Altitude);
var path = mobile.GetCurrentPath(self);
var path = self.GetCurrentActivity().GetCurrentPath();
var start = self.CenterLocation + alt;
var c = Color.Green;