mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-30 13:47:59 +03:00
stats: fix items order
This commit is contained in:
parent
c1c5e4a8fd
commit
58efbc8e03
1 changed files with 10 additions and 10 deletions
|
@ -308,6 +308,16 @@ void Stats_Show(int32_t level_num)
|
|||
Text_CentreV(txt, 1);
|
||||
y += row_height;
|
||||
|
||||
// deaths
|
||||
if (g_Config.enable_deaths_counter && g_GameInfo.death_counter_supported) {
|
||||
sprintf(
|
||||
buf, g_GameFlow.strings[GS_STATS_DEATHS_FMT], stats->death_count);
|
||||
txt = Text_Create(0, y, buf);
|
||||
Text_CentreH(txt, 1);
|
||||
Text_CentreV(txt, 1);
|
||||
y += row_height;
|
||||
}
|
||||
|
||||
// time taken
|
||||
int seconds = stats->timer / 30;
|
||||
int hours = seconds / 3600;
|
||||
|
@ -326,16 +336,6 @@ void Stats_Show(int32_t level_num)
|
|||
Text_CentreV(txt, 1);
|
||||
y += row_height;
|
||||
|
||||
// deaths
|
||||
if (g_Config.enable_deaths_counter && g_GameInfo.death_counter_supported) {
|
||||
sprintf(
|
||||
buf, g_GameFlow.strings[GS_STATS_DEATHS_FMT], stats->death_count);
|
||||
txt = Text_Create(0, y, buf);
|
||||
Text_CentreH(txt, 1);
|
||||
Text_CentreV(txt, 1);
|
||||
y += row_height;
|
||||
}
|
||||
|
||||
Output_FadeToSemiBlack(true);
|
||||
// wait till a skip key is pressed
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue