From 5e63453301d0742e58e559e74356d9381870e46c Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 24 Oct 2016 21:30:39 +0000 Subject: [PATCH] Duke: Move the nulling of the MIRROR tile to after defs are parsed so that tilefromtexture does not interfere with mirror function. git-svn-id: https://svn.eduke32.com/eduke32@5911 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 436b0ab14..41c7d610a 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -5889,8 +5889,6 @@ static void G_Startup(void) ReadSaveGameHeaders(); - tilesiz[MIRROR].x = tilesiz[MIRROR].y = 0; - screenpeek = myconnectindex; Bfflush(NULL); @@ -6310,6 +6308,8 @@ int app_main(int argc, char const * const * argv) G_PostLoadPalette(); + tilesiz[MIRROR].x = tilesiz[MIRROR].y = 0; + Gv_ResetSystemDefaults(); // called here to populate our fake tilesizx and tilesizy arrays presented to CON with sizes generated by dummytiles if (numplayers == 1 && boardfilename[0] != 0)