forked from mirror/openmw-tes3mp
fixed compilation
This commit is contained in:
parent
58f7a03626
commit
c5f044eb0d
1 changed files with 4 additions and 1 deletions
|
@ -112,9 +112,12 @@ namespace MWWorld
|
|||
float worldsize = ESM::Land::REAL_SIZE;
|
||||
|
||||
if (!(cell->cell->data.flags & ESM::Cell::Interior))
|
||||
mPhysics->addHeightField (cell->land[1][1]->landData->heights,
|
||||
{
|
||||
ESM::Land* land = mWorld->getStore().lands.search(cell->cell->data.gridX,cell->cell->data.gridY);
|
||||
mPhysics->addHeightField (land->landData->heights,
|
||||
cell->cell->data.gridX, cell->cell->data.gridY,
|
||||
0, ( worldsize/(verts-1) ), verts);
|
||||
}
|
||||
|
||||
mRendering.configureAmbient(*cell);
|
||||
mRendering.requestMap(cell);
|
||||
|
|
Loading…
Reference in a new issue