From 6d9bdb8d2508e7b4ac1ff90f38850483e47dd80f Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Mon, 2 Dec 2024 17:39:29 +0700 Subject: [PATCH] fix speedometer --- src/st_widgets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st_widgets.c b/src/st_widgets.c index e39887de..233bd3c7 100644 --- a/src/st_widgets.c +++ b/src/st_widgets.c @@ -930,7 +930,7 @@ static void UpdateSpeed(sbe_widget_t *widget, player_t *player) static char string[60]; M_snprintf(string, sizeof(string), GRAY_S "%.*f " GREEN_S "%s", type && speed ? 1 : 0, speed, units[type]); - ST_AddLine(widget, string); + SetLine(widget, string); } static void UpdateCmd(sbe_widget_t *widget)