From 248052cda476a07c69709e538986e7b9e77f867e Mon Sep 17 00:00:00 2001 From: Cyp Date: Sat, 26 Jun 2010 20:58:12 +0200 Subject: [PATCH] newnet: Disable floating point sanity and consistency assertion. --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 0d86d3309..8e00e03f2 100644 --- a/src/main.c +++ b/src/main.c @@ -1152,7 +1152,10 @@ int main(int argc, char *argv[]) // Sanity check that floating point math is the same on all machines. (x86 needs to be compiled at least with the "-msse -mfpmath=sse" compiler flags, in addition to "-mno-fused-madd".) ok = fptest1(); fptest2(); // Multiplayer seems to work, even if doubles are broken. (Should avoid use of doubles, or require "-msse2".) - ASSERT(ok, "Your compiler and compiler flag combination breaks 32-bit floats. Multiplayer will be broken."); + if (!ok) + { + debug(LOG_WARNING, "Your compiler and compiler flag combination breaks 32-bit floats. Hope there isn't too much floating point code left."); + } /*** Initialize PhysicsFS ***/ initialize_PhysicsFS(argv[0]);