From a7d7acdc4219d474597960b55fea06b06e1911ad Mon Sep 17 00:00:00 2001 From: petrie911 <69443847+petrie911@users.noreply.github.com> Date: Wed, 27 Mar 2024 19:01:50 -0500 Subject: [PATCH] Fix to the fix (#57) * float fix * oops --- src/factories/sf64/HitboxFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factories/sf64/HitboxFactory.cpp b/src/factories/sf64/HitboxFactory.cpp index ea700a4..b7d9427 100644 --- a/src/factories/sf64/HitboxFactory.cpp +++ b/src/factories/sf64/HitboxFactory.cpp @@ -18,7 +18,7 @@ static int GetPrecision(float f) { return p; } -static std::ostream& FormatFloat(std::ostream& out, const float x, int w) { +static void FormatFloat(std::ostream& out, const float x, int w) { if(x == (int) x) { out << std::dec << std::fixed << std::setprecision(0) << std::setfill(' ') << std::setw(w - 2) << x << ".0f"; } else {