@ -268,6 +268,13 @@ namespace MWWorld
mPhysics->addHeightField (data->mHeights, cell->getCell()->getGridX(), cell->getCell()->getGridY(),
worldsize / (verts-1), verts);
}
else
{
static std::vector<float> defaultHeight;
defaultHeight.resize(verts*verts, -2048.f);
mPhysics->addHeightField (&defaultHeight[0], cell->getCell()->getGridX(), cell->getCell()->getGridY(),
// register local scripts