From 6c863486e18f08ce40ee185817e2047d705c2cb2 Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 17 Feb 2014 22:09:07 +0100 Subject: [PATCH] Terrain: fix an embarrassing copy&paste mistake. --- components/terrain/quadtreenode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/terrain/quadtreenode.cpp b/components/terrain/quadtreenode.cpp index cb7660fed..3969d4761 100644 --- a/components/terrain/quadtreenode.cpp +++ b/components/terrain/quadtreenode.cpp @@ -225,7 +225,7 @@ void QuadTreeNode::initAabb() break; case Terrain::Align_XZ: minH = mBounds.getMinimum().y; - maxH = mBounds.getMinimum().y; + maxH = mBounds.getMaximum().y; break; case Terrain::Align_YZ: minH = mBounds.getMinimum().x;