mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
fix speedometer
This commit is contained in:
parent
c4b806523e
commit
6d9bdb8d25
@ -930,7 +930,7 @@ static void UpdateSpeed(sbe_widget_t *widget, player_t *player)
|
|||||||
static char string[60];
|
static char string[60];
|
||||||
M_snprintf(string, sizeof(string), GRAY_S "%.*f " GREEN_S "%s",
|
M_snprintf(string, sizeof(string), GRAY_S "%.*f " GREEN_S "%s",
|
||||||
type && speed ? 1 : 0, speed, units[type]);
|
type && speed ? 1 : 0, speed, units[type]);
|
||||||
ST_AddLine(widget, string);
|
SetLine(widget, string);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void UpdateCmd(sbe_widget_t *widget)
|
static void UpdateCmd(sbe_widget_t *widget)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user