summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpetrie911 <69443847+petrie911@users.noreply.github.com>2024-03-27 19:01:50 -0500
committerGitHub <noreply@github.com>2024-03-27 18:01:50 -0600
commita7d7acdc4219d474597960b55fea06b06e1911ad (patch)
treea736297cb47ab55ac8a583834542da5456035ac9
parentf9efdcf634a57c1d607199b70a69dffc3b863f1c (diff)
Fix to the fix (#57)
* float fix * oops
-rw-r--r--src/factories/sf64/HitboxFactory.cpp2
1 files changed, 1 insertions, 1 deletions
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 {