Fix cargo loading/unloading.

- Fix the unloading subcell bug, letting us have units move to directly adjacent cells.
- Have the cursor change to a deploy-blocked cursor if the transport can't unload due to terrain type.
- Add RenderTransport for transport door opening.
- Remove turning/opening in general.
This commit is contained in:
ScottNZ
2014-02-10 22:49:41 +13:00
parent ea1d1320be
commit 025de83d3a
11 changed files with 182 additions and 97 deletions

View File

@@ -80,7 +80,7 @@ Actor.Hunt = function(actor)
end
Actor.UnloadCargo = function(actor, unloadAll)
actor:QueueActivity(OpenRA.New("UnloadCargo", { unloadAll }))
actor:QueueActivity(OpenRA.New("UnloadCargo", { actor, unloadAll }))
end
Actor.Harvest = function(actor)