[Scummvm-git-logs] scummvm master -> 8502cbd70205bfc85f58f11af900dfede36c2906
SupSuper
supsuper at gmail.com
Tue Jun 15 12:21:55 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8502cbd702 TRECISION: Let us be absolute
Commit: 8502cbd70205bfc85f58f11af900dfede36c2906
https://github.com/scummvm/scummvm/commit/8502cbd70205bfc85f58f11af900dfede36c2906
Author: SupSuper (supsuper at gmail.com)
Date: 2021-06-15T13:21:33+01:00
Commit Message:
TRECISION: Let us be absolute
Changed paths:
engines/trecision/utils.cpp
diff --git a/engines/trecision/utils.cpp b/engines/trecision/utils.cpp
index 24a84af35b..2f6877e926 100644
--- a/engines/trecision/utils.cpp
+++ b/engines/trecision/utils.cpp
@@ -393,7 +393,7 @@ int TrecisionEngine::floatComp(float f1, float f2) const {
static const float epsilon = 1.0e-05f;
const float diff = f1 - f2;
- if (abs(diff) < epsilon)
+ if (ABS(diff) < epsilon)
// equality
return 0;
More information about the Scummvm-git-logs
mailing list