HomeWildfire Games

Fix SetGarrisoned() call when transforming an entity

Description

Fix SetGarrisoned() call when transforming an entity

Before rP22753, the promotion code would carry the UnitAI IsGarrisoned flag, which the Transform helper incorrectly didn't do. However, this was missed when merging the two code paths.

This fixes an issue for example when units are promoted while atop walls.

Reported By: faction02

Patch By: Freagarach

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

Details

Committed
wraitiiSep 18 2019, 9:07 PM
Differential Revision
D2303: Fix SetGarrisoned missed in rP22753.
Parents
rP22928: Update translations after fixing sprintf issues
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9459
Build 15768: Post-Commit BuildJenkins