fixed compilation

This commit is contained in:
scrawl 2012-03-28 22:46:29 +02:00
parent 58f7a03626
commit c5f044eb0d

View file

@ -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);