From e0e3973b47a6cb5e66ad596723ebc4ca33467d25 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 23 Aug 2013 17:01:14 +0000 Subject: [PATCH] Bounds-check the tile number gotten from EVENT_GETMENUTILE. git-svn-id: https://svn.eduke32.com/eduke32@4034 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 154014e38..b4c25b977 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -3952,9 +3952,10 @@ void G_DrawBackground(void) if (!fstilep) #endif { - for (y=y1; y