|
|
@@ -135,7 +135,13 @@ get_local_bound(int n) const {
|
|
|
nassertr(n >= 0 && n < (int)_colliders.size(), NULL);
|
|
|
nassertr(has_collider(n), NULL);
|
|
|
nassertr(n >= 0 && n < (int)_local_bounds.size(), NULL);
|
|
|
- return _local_bounds[n];
|
|
|
+
|
|
|
+ // For whatever reason, the Intel compiler can't figure this line
|
|
|
+ // out.
|
|
|
+ //return _local_bounds[n];
|
|
|
+
|
|
|
+ // But it can figure out this equivalent line.
|
|
|
+ return *(_local_bounds + n);
|
|
|
}
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|