diff options
author | leak <leak@bitmx.net> | 2014-06-01 20:55:31 +0200 |
---|---|---|
committer | leak <leak@bitmx.net> | 2014-06-01 20:55:31 +0200 |
commit | 68e22ad311ed19d3ad4460f2d178a46eda19ed65 (patch) | |
tree | 65aa11a1e296c38e6bcbba67dbaf2640a495c38f /src/server/collision/BoundingIntervalHierarchy.h | |
parent | 35aa142f6aa748db1febe901b2446fe53b9abbe0 (diff) |
Replaced ACE based typedefs for fixed width ints with C++11 versions
Diffstat (limited to 'src/server/collision/BoundingIntervalHierarchy.h')
-rw-r--r-- | src/server/collision/BoundingIntervalHierarchy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/collision/BoundingIntervalHierarchy.h b/src/server/collision/BoundingIntervalHierarchy.h index 4d38bfc18c4..491a299ca68 100644 --- a/src/server/collision/BoundingIntervalHierarchy.h +++ b/src/server/collision/BoundingIntervalHierarchy.h @@ -177,7 +177,7 @@ class BIH { uint32 tn = tree[node]; uint32 axis = (tn & (3 << 30)) >> 30; - bool BVH2 = tn & (1 << 29); + bool BVH2 = (tn & (1 << 29)) != 0; int offset = tn & ~(7 << 29); if (!BVH2) { @@ -271,7 +271,7 @@ class BIH { uint32 tn = tree[node]; uint32 axis = (tn & (3 << 30)) >> 30; - bool BVH2 = tn & (1 << 29); + bool BVH2 = (tn & (1 << 29)) != 0; int offset = tn & ~(7 << 29); if (!BVH2) { |