diff --git a/components/terrain/cellborder.cpp b/components/terrain/cellborder.cpp index b74e2e9be..31a162af7 100644 --- a/components/terrain/cellborder.cpp +++ b/components/terrain/cellborder.cpp @@ -5,6 +5,7 @@ #include #include "world.hpp" +#include "../esm/loadland.hpp" namespace MWRender { @@ -18,7 +19,7 @@ CellBorder::CellBorder(Terrain::World *world, osg::Group *root): void CellBorder::createCellBorderGeometry(int x, int y) { - const int cellSize = 8192; + const int cellSize = ESM::Land::REAL_SIZE; const int borderSegments = 40; const float offset = 10.0;