forked from teamnwah/openmw-tes3coop
Use REAL_SIZE constant
This commit is contained in:
parent
c3d7ee5a9e
commit
1fd5ad3e56
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <osg/Geode>
|
||||
|
||||
#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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue