From 28f41cf689def99fb586bfca47b7e1786227a5a2 Mon Sep 17 00:00:00 2001 From: navewindre Date: Fri, 12 Jul 2024 05:40:41 +0200 Subject: base shit --- src/conout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conout.h') diff --git a/src/conout.h b/src/conout.h index 3c6685b..73d75b1 100644 --- a/src/conout.h +++ b/src/conout.h @@ -123,7 +123,7 @@ inline STR<16> con_to_setting_str( bool setting ) { inline STR<16> con_to_setting_str( F32 setting ) { char buf[16]; - snprintf( buf, 16, "[%.02f]", (I32)( setting * 100 ) ); + snprintf( buf, 16, "[%.02f]", setting ); return buf; } -- cgit v1.2.3