aboutsummaryrefslogtreecommitdiff
path: root/dep/recastnavigation/Recast/RecastLayers.cpp
diff options
context:
space:
mode:
authorVincent_Michael <Vincent_Michael@gmx.de>2014-01-18 01:36:12 +0100
committerVincent_Michael <Vincent_Michael@gmx.de>2014-01-18 01:36:12 +0100
commitad8c046916262918b88917cbe4194a943ce75d16 (patch)
tree1bdf4a3995b184377229a767278771f4e533b828 /dep/recastnavigation/Recast/RecastLayers.cpp
parent3276a786cc35f4dddcceedcab84fba5e77b78e58 (diff)
Core/Revert: ...
Diffstat (limited to 'dep/recastnavigation/Recast/RecastLayers.cpp')
-rw-r--r--dep/recastnavigation/Recast/RecastLayers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/recastnavigation/Recast/RecastLayers.cpp b/dep/recastnavigation/Recast/RecastLayers.cpp
index 204f72e8cb2..5ea6cb79d16 100644
--- a/dep/recastnavigation/Recast/RecastLayers.cpp
+++ b/dep/recastnavigation/Recast/RecastLayers.cpp
@@ -325,7 +325,7 @@ bool rcBuildHeightfieldLayers(rcContext* ctx, rcCompactHeightfield& chf,
continue;
// Skip if the height range would become too large.
const int ymin = rcMin(root.ymin, regn.ymin);
- const int ymax = rcMax(root.ymax, regn.ymax);
+ const int ymax = rcMax(root.ymax, regn.ymax); // Edited by TC
if ((ymax - ymin) >= 255)
continue;
@@ -373,7 +373,7 @@ bool rcBuildHeightfieldLayers(rcContext* ctx, rcCompactHeightfield& chf,
continue;
// Skip if the height range would become too large.
const int ymin = rcMin(ri.ymin, rj.ymin);
- const int ymax = rcMax(ri.ymax, rj.ymax);
+ const int ymax = rcMax(ri.ymax, rj.ymax); // Edited by TC
if ((ymax - ymin) >= 255)
continue;