Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed TS crane overlay's last frame hiding idle overlay #9377

Merged
merged 3 commits into from
Sep 20, 2015

Conversation

reaperrr
Copy link
Contributor

TS crane overlay's last frame no longer overlaps idle overlay. WithBuildingPlacedOverlay is now only visible while playing the animation, rather than sticking around.

Fixes #9319.

@pchote
Copy link
Member

pchote commented Sep 19, 2015

Are all the other overlay traits going to have similar problems?

@@ -35,6 +35,7 @@ public class WithBuildingPlacedOverlay : INotifyBuildComplete, INotifySold, INot
{
readonly Animation overlay;
bool buildComplete;
bool hide;
Copy link
Member

Choose a reason for hiding this comment

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

Might be a bit more consistent with other code to call this visible and invert the checks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok.

@reaperrr
Copy link
Contributor Author

Are all the other overlay traits going to have similar problems?

Possibly. I'll take a look.

This was an idle animation in the original, and this and "platform" cannot be displayed at the same time anyway.
Also increased Tick rate to match idle light.
@reaperrr
Copy link
Contributor Author

Fixed WithRepairOverlay as well. Looks like all other overlays have something comparable in place already.

@Mailaender
Copy link
Member

👍 As a nice side effect this also makes the cloaking look better.

@pchote
Copy link
Member

pchote commented Sep 20, 2015

Confirmed fixes 👍. Thanks.

pchote added a commit that referenced this pull request Sep 20, 2015
Fixed TS crane overlay's last frame hiding idle overlay
@pchote pchote merged commit ff10fe3 into OpenRA:bleed Sep 20, 2015
@reaperrr reaperrr deleted the fix-bldplace-overlay branch September 23, 2015 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants