Some initial hacks towards multiple-infantry-per-cell. Make the pathfinder smart enough to do what we need, and remove a *lot* of stupid duplication. Needs more work.
This commit is contained in:
@@ -70,6 +70,11 @@ namespace OpenRA.Mods.RA
|
||||
return cargo.Count == 0;
|
||||
}
|
||||
|
||||
public Actor Peek(Actor self)
|
||||
{
|
||||
return cargo[0];
|
||||
}
|
||||
|
||||
public Actor Unload(Actor self)
|
||||
{
|
||||
var a = cargo[0];
|
||||
|
||||
Reference in New Issue
Block a user