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

Minus sign inconsistently shows in damage numbers #73

Closed
trigger-segfault opened this issue Jun 23, 2023 · 0 comments
Closed

Minus sign inconsistently shows in damage numbers #73

trigger-segfault opened this issue Jun 23, 2023 · 0 comments
Labels
graphics Relates to how graphics are rendered and displayed on screen. original bug This was an issue in the original game already.

Comments

@trigger-segfault
Copy link
Owner

Describe the issue
When a unit receives damage, it shows the number of health points it lost above its head. By default, a - minus sign is shown in front of the number because the number represents health lost. However, this symbol doesn't always show. This is because the game doesn't hide or unhide the mesh group used to display the minus sign, so whether the sign shows depends on the last time the damage text was shown and the Nth character was not a minus sign.

Expected behaviour
A minus sign should always show next to health lost from a unit (with the exception of zero, but that's a different story).

Steps to reproduce

  1. Start up Driller Night with debug keys enabled.
  2. Select a unit and press F to damage the unit for 40 points (a minus sign should show).
  3. Repeatedly tell a unit to move around the corner of the lava until it steps on the lava for a short enough time to lose health in the single digits (a minus sign should still show). Make sure to only do this with one unit, if two damage numbers are shown at once, then you can't guarantee the issue will be reproduced.
  4. Select a unit that has more than 40 health and press F to damage the unit for 40 points (a minus sign should not show any more).

Additional information

  • Time played this session: 2 minutes.
  • Level: Driller Night
  • Game speed: 100%
  • Graphics fix: dgVoodoo 2.79.3
  • Using mods: None
@trigger-segfault trigger-segfault added graphics Relates to how graphics are rendered and displayed on screen. original bug This was an issue in the original game already. labels Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
graphics Relates to how graphics are rendered and displayed on screen. original bug This was an issue in the original game already.
Projects
None yet
Development

No branches or pull requests

1 participant