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

Syringe ammo counter representing "40" as "4..." #50

Closed
Sloofy opened this issue Apr 8, 2022 · 6 comments
Closed

Syringe ammo counter representing "40" as "4..." #50

Sloofy opened this issue Apr 8, 2022 · 6 comments
Assignees
Labels
bug report A general purpose bug report.

Comments

@Sloofy
Copy link
Contributor

Sloofy commented Apr 8, 2022

Issue

When using any of the syringe guns, rather than a full clip showing 40, it will instead display "4...".

Specifications

Fedora Linux 35
Using the community branch up to the April 3rd, 2022 version
Playing at 1920x1080

Screenshot

Ammo

@CriticalFlaw CriticalFlaw added the bug report A general purpose bug report. label Apr 9, 2022
@Sloofy
Copy link
Contributor Author

Sloofy commented Apr 10, 2022

This affects the SMG too, as it turns out. While playing MVM last night, I also discovered that it only happens with the number 40 -- values below 39 and above 41 are fine. Haven't tested for triple digit values, but I can only assume this would be an issue though exclusive to custom gamemodes.

@CriticalFlaw
Copy link
Owner

I'm not able to reproduce this issue on the latest community version in 16:9 resolution. Which version and resolution do you use?

@Sloofy
Copy link
Contributor Author

Sloofy commented Apr 13, 2022

I'm not able to reproduce this issue on the latest community version in 16:9 resolution. Which version and resolution do you use?

Latest community version with 1920x1080, specifically up to this commit. I'm also playing on Linux, so maybe that could be where the issue is coming from? I wouldn't know for sure, though.

@Maurvick
Copy link
Contributor

@Sloofy try to delete hudammoweapons.res

@CriticalFlaw
Copy link
Owner

Compared to the original HUD files, the only difference is that the shadows are now pinned to the ammo label which itself shouldn't cause text truncation. I thought it may have been HudWeaponAmmo in hudlayout.res but it's the same as default. But if deleting the file does fix this then that'd be a good.

@CriticalFlaw CriticalFlaw self-assigned this Aug 1, 2022
CriticalFlaw added a commit that referenced this issue Aug 1, 2022
@CriticalFlaw
Copy link
Owner

Fixed in fb30134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report A general purpose bug report.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants