- save the global view variables in a savegame.

I have no idea why but these did not get restored to something useful anymore.
This commit is contained in:
Christoph Oelckers 2020-09-04 01:17:06 +02:00
parent b253ae123f
commit 1cf0ca3f75
1 changed files with 4 additions and 0 deletions

View File

@ -646,6 +646,8 @@ void MyLoadSave::Load(void)
Read(&gMapRev, sizeof(gMapRev));
Read(&gSongId, sizeof(gSkyCount));
Read(&gFogMode, sizeof(gFogMode));
Read(&gViewAngle, sizeof(gViewAngle));
Read(&gViewLook, sizeof(gViewLook));
#ifdef NOONE_EXTENSIONS
Read(&gModernMap, sizeof(gModernMap));
#endif
@ -732,6 +734,8 @@ void MyLoadSave::Save(void)
Write(&gMapRev, sizeof(gMapRev));
Write(&gSongId, sizeof(gSkyCount));
Write(&gFogMode, sizeof(gFogMode));
Write(&gViewAngle, sizeof(gViewAngle));
Write(&gViewLook, sizeof(gViewLook));
#ifdef NOONE_EXTENSIONS
Write(&gModernMap, sizeof(gModernMap));
#endif