summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
authorSimon Howard2008-09-24 18:58:50 +0000
committerSimon Howard2008-09-24 18:58:50 +0000
commitcdcba6a922eb11b0829644ce590210a935297f7e (patch)
tree376b02e0241fc70161bee4ee4ef2c6e5a30d6855 /src/heretic
parent9c707d58e5004fad1540c7d05bdda54773d5ed71 (diff)
downloadchocolate-doom-cdcba6a922eb11b0829644ce590210a935297f7e.tar.gz
chocolate-doom-cdcba6a922eb11b0829644ce590210a935297f7e.tar.bz2
chocolate-doom-cdcba6a922eb11b0829644ce590210a935297f7e.zip
Remove external reference to DisplayTicker; make this call
I_DisplayFPSDots. Subversion-branch: /branches/raven-branch Subversion-revision: 1271
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/sb_bar.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/heretic/sb_bar.c b/src/heretic/sb_bar.c
index 70ec7904..bcf214a8 100644
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -77,6 +77,8 @@ int curpos;
int inv_ptr;
int ArtifactFlash;
+static int DisplayTicker = 0;
+
// Private Data
static int HealthMarker;
@@ -1154,8 +1156,6 @@ static void CheatSoundFunc(player_t * player, Cheat_t * cheat)
static void CheatTickerFunc(player_t * player, Cheat_t * cheat)
{
- extern int DisplayTicker;
-
DisplayTicker = !DisplayTicker;
if (DisplayTicker)
{
@@ -1165,6 +1165,8 @@ static void CheatTickerFunc(player_t * player, Cheat_t * cheat)
{
P_SetMessage(player, TXT_CHEATTICKEROFF, false);
}
+
+ I_DisplayFPSDots(DisplayTicker);
}
static void CheatArtifact1Func(player_t * player, Cheat_t * cheat)