Merge pull request #234 from OpenMW/master

Add OpenMW commits up to 30 Jun 2017
0.6.1
David Cernat 8 years ago committed by GitHub
commit 99640da111

@ -412,8 +412,11 @@ namespace MWWorld
return;
case ESM::REC_PLAY:
mPlayer->readRecord(reader, type);
mWorldScene->preloadCell(getPlayerPtr().getCell(), true);
mWorldScene->preloadTerrain(getPlayerPtr().getRefData().getPosition().asVec3());
if (getPlayerPtr().isInCell())
{
mWorldScene->preloadCell(getPlayerPtr().getCell(), true);
mWorldScene->preloadTerrain(getPlayerPtr().getRefData().getPosition().asVec3());
}
break;
default:
if (!mStore.readRecord (reader, type) &&

Loading…
Cancel
Save