From b886cbb527effa2631603faae3054fb5b6fea817 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 8 Apr 2025 16:09:54 -0500 Subject: [PATCH] on balance we'll want to round instead of truncate --- Engine/source/console/propertyParsing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/console/propertyParsing.h b/Engine/source/console/propertyParsing.h index eab09118b..8bffe59b8 100644 --- a/Engine/source/console/propertyParsing.h +++ b/Engine/source/console/propertyParsing.h @@ -174,7 +174,7 @@ namespace PropertyInfo { if constexpr (std::is_same_v || std::is_same_v) { - out[index++] = dAtoi(tok); + out[index++] = mRound(dAtof(tok)); } else if constexpr (std::is_same_v || std::is_same_v) {