From 5349a0bf627085db884be51a67442d5d2827ccaa Mon Sep 17 00:00:00 2001
From: Monster Iestyn <iestynjealous@ntlworld.com>
Date: Thu, 28 May 2020 18:07:12 +0100
Subject: [PATCH] V_Init: count to NUMSCREENS, not NUMSCREENS+1 (though I can't
 help thinking this one might have been deliberate somehow?)

---
 src/v_video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/v_video.c b/src/v_video.c
index 3ce0e79f5..11381ccea 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -3696,7 +3696,7 @@ void V_Init(void)
 
 #ifdef DEBUG
 	CONS_Debug(DBG_RENDER, "V_Init done:\n");
-	for (i = 0; i < NUMSCREENS+1; i++)
+	for (i = 0; i < NUMSCREENS; i++)
 		CONS_Debug(DBG_RENDER, " screens[%d] = %x\n", i, screens[i]);
 #endif
 }