mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- 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:
parent
b253ae123f
commit
1cf0ca3f75
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue