mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 04:05:31 +01:00
Swap out -ffast-math for a safe subset of optimization flags (#9682)
It caused more trouble than its worth. fixes #3943, fixes #5330
This commit is contained in:
@@ -32,6 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "util/timetaker.h"
|
||||
#include "profiler.h"
|
||||
|
||||
#ifdef __FAST_MATH__
|
||||
#warning "-ffast-math is known to cause bugs in collision code, do not use!"
|
||||
#endif
|
||||
|
||||
struct NearbyCollisionInfo {
|
||||
NearbyCollisionInfo(bool is_ul, bool is_obj, int bouncy,
|
||||
|
||||
Reference in New Issue
Block a user