From 2da2ddd3777ee5ab35b197786677eb3e0df27030 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 15 Aug 2015 13:59:19 -0400 Subject: Remove duplicate variable definitions. gametic and singletics are defined in d_loop.c, but there were still some duplicate definitions of these variables left over from before the game code was factored out. This fixed #561 (thanks edward-san). --- src/heretic/d_main.c | 1 - src/heretic/g_game.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src/heretic') diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index beb876ca..6521aff3 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -62,7 +62,6 @@ boolean respawnparm; // checkparm of -respawn boolean debugmode; // checkparm of -debug boolean ravpic; // checkparm of -ravpic boolean cdrom; // true if cd-rom mode active -boolean singletics; // debug flag to cancel adaptiveness boolean noartiskip; // whether shift-enter skips an artifact skill_t startskill; diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c index 1154925a..6ad38609 100644 --- a/src/heretic/g_game.c +++ b/src/heretic/g_game.c @@ -102,7 +102,6 @@ player_t players[MAXPLAYERS]; int consoleplayer; // player taking events and displaying int displayplayer; // view being displayed -int gametic; int levelstarttic; // gametic at level start int totalkills, totalitems, totalsecret; // for intermission -- cgit v1.2.3