From 06a0350af027750cf597af17fba3d92edf1fb4d2 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 25 Oct 2014 03:27:13 +0000 Subject: [PATCH] Fix a bug where if you had a savegame with an active viewscreen, the tile in the world wouldn't update until totalclock > what totalclock was when the game was saved. git-svn-id: https://svn.eduke32.com/eduke32@4655 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/premap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index 2e319eef5..8d3a627ea 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -1653,6 +1653,8 @@ void G_ResetTimers(uint8_t keepgtics) g_levelTextTime = 85; if (!keepgtics) g_moveThingsCount = 0; + if (g_curViewscreen >= 0) + actor[g_curViewscreen].t_data[0] = 0; } void G_ClearFIFO(void)