|
|
@ -374,10 +374,13 @@ namespace MWWorld
|
|
|
|
reader.getHNT(mTeleportEnabled, "TELE");
|
|
|
|
reader.getHNT(mTeleportEnabled, "TELE");
|
|
|
|
reader.getHNT(mLevitationEnabled, "LEVT");
|
|
|
|
reader.getHNT(mLevitationEnabled, "LEVT");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
case ESM::REC_PLAY:
|
|
|
|
|
|
|
|
mPlayer->readRecord(reader, type);
|
|
|
|
|
|
|
|
mWorldScene->preloadCell(getPlayerPtr().getCell(), true);
|
|
|
|
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
if (!mStore.readRecord (reader, type) &&
|
|
|
|
if (!mStore.readRecord (reader, type) &&
|
|
|
|
!mGlobalVariables.readRecord (reader, type) &&
|
|
|
|
!mGlobalVariables.readRecord (reader, type) &&
|
|
|
|
!mPlayer->readRecord (reader, type) &&
|
|
|
|
|
|
|
|
!mWeatherManager->readRecord (reader, type) &&
|
|
|
|
!mWeatherManager->readRecord (reader, type) &&
|
|
|
|
!mCells.readRecord (reader, type, contentFileMap)
|
|
|
|
!mCells.readRecord (reader, type, contentFileMap)
|
|
|
|
&& !mProjectileManager->readRecord (reader, type)
|
|
|
|
&& !mProjectileManager->readRecord (reader, type)
|
|
|
|