Apply "reset object trackers on savegame load" patch

git-svn-id: https://svn.eduke32.com/eduke32@7860 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-08-01 06:50:01 +00:00 committed by Christoph Oelckers
parent f84e161e52
commit ed40842bad

View file

@ -2516,6 +2516,16 @@ static void postloadplayer(int32_t savegamep)
G_ResetTimers(0); G_ResetTimers(0);
#endif #endif
#ifdef USE_STRUCT_TRACKERS
Bmemset(sectorchanged, 0, sizeof(sectorchanged));
Bmemset(spritechanged, 0, sizeof(spritechanged));
Bmemset(wallchanged, 0, sizeof(wallchanged));
#endif
#ifdef USE_OPENGL
Polymost_prepare_loadboard();
#endif
#ifdef POLYMER #ifdef POLYMER
//9 //9
if (videoGetRenderMode() == REND_POLYMER) if (videoGetRenderMode() == REND_POLYMER)