PsyDoom icon indicating copy to clipboard operation
PsyDoom copied to clipboard

Negative Frags Display

Open fenderc01 opened this issue 3 years ago • 1 comments

In deathwatch, negative frags are displayed with a leading zero instead of a negative sign. Maybe this is intentional due to the limited characters available.

fenderc01 avatar Jun 06 '22 19:06 fenderc01

Nice catch! Looks like it is an issue introduced by PsyDoom specifically, the problem does not happen in the original game.

The problem was introduced during the conversion of 'I_DrawNumber' from ASM to C++ by this commit: https://github.com/BodbDearg/PsyDoom/commit/ed107f3e9a70c96f3181a143b5c4808ad8a680f2

For some reason the following code which should have been: spritePrim.u0 = gBigFontChars[BIG_FONT_MINUS].u;

Was converted as: spritePrim.u0 = gBigFontChars[BIG_FONT_EXCLAMATION].u;

Ooops...

BodbDearg avatar Jul 15 '22 06:07 BodbDearg

This bug should be fixed as of 1.0.0 - closing ticket.

BodbDearg avatar Oct 01 '22 06:10 BodbDearg