HomeWildfire Games

Fix rotation of promoted turrets and allow fixing the turret angle in the…

Description

Fix rotation of promoted turrets and allow fixing the turret angle in the GarrisonHolder schema.

Reviewed By: temple

Differential Revision: https://code.wildfiregames.com/D1420

Event Timeline

mimo added a comment.Apr 4 2018, 6:28 PM

SetTurretStance uses SwitchToStance from UnitAI which has an early return for outOfWorld units, so the stance was not correctly set for such units. This is fixed with rP21656.
But it may be worth fixing directly UnitAI as there are no real reason to not switch stance if not InWorld.