Add a force flag to nudging which skips the ownership and idle checks

This commit is contained in:
Paul Chote
2011-07-10 17:37:12 +12:00
parent 98ae8c7630
commit 74d13286a8
3 changed files with 6 additions and 7 deletions

View File

@@ -170,7 +170,7 @@ namespace OpenRA.Mods.RA.Move
var nudge = blocker.TraitOrDefault<INudge>();
if (nudge != null)
nudge.OnNudge(blocker, self);
nudge.OnNudge(blocker, self, false);
}
Pair<int2, SubCell>? PopPath( Actor self, Mobile mobile )