Files
azerothcore-wotlk/dep/g3dlite/G3D-v8.0_hotfix2.diff
Yehonal e8e94a0a66 First Commit
For Azeroth!
2016-06-26 10:39:44 +02:00

15 lines
365 B
Diff

diff --git a/dep/g3dlite/source/g3dmath.cpp b/dep/g3dlite/source/g3dmath.cpp
index e846f8c..84e8345 100644
--- a/dep/g3dlite/source/g3dmath.cpp
+++ b/dep/g3dlite/source/g3dmath.cpp
@@ -41,7 +41,7 @@ double inf() {
}
bool isNaN(float x) {
- static const float n = nan();
+ static const float n = fnan();
return memcmp(&x, &n, sizeof(float)) == 0;
}