diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 4a20b26ba..350eb015a 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -3743,6 +3743,8 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio) break; } + // NOTE: might be rendering off-screen here, so CON commands that draw stuff + // like showview must cope with that situation or bail out! if (apScriptGameEvent[EVENT_DISPLAYROOMS]) VM_OnEvent(EVENT_DISPLAYROOMS, g_player[screenpeek].ps->i, screenpeek, -1, 0); diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 49a66d97a..590011e67 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -2342,6 +2342,12 @@ nullquote: if (g_screenCapture) continue; + if (offscreenrendering) + { + clearview(0); + continue; + } + if (x1 > x2) swaplong(&x1,&x2); if (y1 > y2) swaplong(&y1,&y2);