From 322888ce83d692507b9b0a1546eef1ac69df767a Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 24 Aug 2013 22:55:37 +0000 Subject: [PATCH] Fix "The latest builds show the same screenshot for every save game entry", reported at http://forums.duke4.net/topic/2961-paper-cuts-minor-bugs-and-annoyances/page__view__findpost__p__169847 git-svn-id: https://svn.eduke32.com/eduke32@4038 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 156496827..8eeaa0e0f 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -4625,7 +4625,7 @@ static void polymer_getbuildmaterial(_prmaterial* material, int16_t tile } // Lazily fill in all the textures we need, move this to precaching later - if (pr_artmapping && (!pth || !pth->hicr) && tilenum != (MAXTILES - 4)) { + if (pr_artmapping && (!pth || !pth->hicr) && tilenum <= (MAXTILES - 4)) { if (!prartmaps[tilenum]) { char *tilebuffer = (char *)waloff[tilenum]; char *tempbuffer = (char *)Bmalloc(tilesizx[tilenum] * tilesizy[tilenum]);