Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #1516: units created with [move_units_fake] disappear between steps
The code accidentally added a wrong fake_unit_ptr to the fake unit manager. The wrong pointer was removed from the manager immediately after being added, and therefore only the other fake_unit_ptr, created by unit_mover, remained. Thus, moving fake units were drawn, but stationary ones weren't.
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters