Skip to content

Conversation

@tintinhamans
Copy link

Preserve hero icon during hidden exit frames.

Closes #1266

Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
@tintinhamans tintinhamans added Bug Something is not working right, typically is user facing Minor Severity: Minor < Major < Critical < Blocker labels Nov 7, 2025
@tintinhamans
Copy link
Author

Tested, see attached video for before/after:

generalsgamecode-issue-1266.mp4


// TheSuperHackers @bugfix arcticdolphin 07/11/2025 Keep hero icon during hidden exit frames
if (calcHero && rObj->isTemporarilyHidden() && obj->isHero())
m_cachedHeroObjectList.push_back(obj);
Copy link

@xezon xezon Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My first impression is that this is a hack fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something is not working right, typically is user facing Minor Severity: Minor < Major < Critical < Blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hero Radar icon disappears for max 6 frames when leaving empty building

2 participants