Skip to content

Commit 557243d

Browse files
olevoleOmniBlade
authored andcommitted
Fix credits output
xx declared as "int" while it is printed as "long": in some cases this leads to incorrect output, see Issue #1025
1 parent fa78f6d commit 557243d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiberiandawn/credits.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void CreditClass::Graphic_Logic(bool forced)
109109
unsigned fore = factor ? 11 : WHITE;
110110

111111
TabClass::Draw_Credits_Tab();
112-
Fancy_Text_Print("%ld", xx, 0, fore, TBLACK, flags, Current);
112+
Fancy_Text_Print("%d", xx, 0, fore, TBLACK, flags, Current);
113113

114114
IsToRedraw = false;
115115
IsAudible = false;

0 commit comments

Comments
 (0)