diff options
| author | Shauren <shauren.trinity@gmail.com> | 2013-09-01 00:59:58 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2013-09-01 00:59:58 +0200 |
| commit | d6fdd05493aaa8600b07eb17dfee222a8379b033 (patch) | |
| tree | 434b440bc5e5ddfd4ec7d7b48ab54839d2d2f5b9 /dep | |
| parent | 6c8d0e5405a4def3be80c6c4be0abc156a34b031 (diff) | |
| parent | 1bbd726e88260bb2904698317cd8d665d670ac0b (diff) | |
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Diffstat (limited to 'dep')
| -rw-r--r-- | dep/g3dlite/G3D-v8.0_hotfix7.diff | 13 | ||||
| -rw-r--r-- | dep/g3dlite/source/Matrix4.cpp | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/dep/g3dlite/G3D-v8.0_hotfix7.diff b/dep/g3dlite/G3D-v8.0_hotfix7.diff new file mode 100644 index 00000000000..00ab78f5c7c --- /dev/null +++ b/dep/g3dlite/G3D-v8.0_hotfix7.diff @@ -0,0 +1,13 @@ +diff --git a/dep/g3dlite/source/Matrix4.cpp b/dep/g3dlite/source/Matrix4.cpp +index 2ce14f6..fbc918f 100644 +--- a/dep/g3dlite/source/Matrix4.cpp ++++ b/dep/g3dlite/source/Matrix4.cpp +@@ -382,7 +382,7 @@ bool Matrix4::operator==(const Matrix4& other) const { + // If the bit patterns are identical, they must be + // the same matrix. If not, they *might* still have + // equal elements due to floating point weirdness. +- if (memcmp(this, &other, sizeof(Matrix4) == 0)) { ++ if (memcmp(this, &other, sizeof(Matrix4)) == 0) { + return true; + } + diff --git a/dep/g3dlite/source/Matrix4.cpp b/dep/g3dlite/source/Matrix4.cpp index 2ce14f6c5d4..fbc918f8f3e 100644 --- a/dep/g3dlite/source/Matrix4.cpp +++ b/dep/g3dlite/source/Matrix4.cpp @@ -382,7 +382,7 @@ bool Matrix4::operator==(const Matrix4& other) const { // If the bit patterns are identical, they must be // the same matrix. If not, they *might* still have // equal elements due to floating point weirdness. - if (memcmp(this, &other, sizeof(Matrix4) == 0)) { + if (memcmp(this, &other, sizeof(Matrix4)) == 0) { return true; } |
