ref: 066b90fc207b8f09e53021f18f8059ae5af40fc5
parent: d4d0f9945cefdb86241b5bd095e82ddbfca0e134
author: Simon Howard <fraggle@gmail.com>
date: Wed Oct 8 14:58:37 EDT 2008
Use internal DisplayTicker variable for hexen/sb_bar.c. Subversion-branch: /branches/raven-branch Subversion-revision: 1339
--- a/src/hexen/sb_bar.c
+++ b/src/hexen/sb_bar.c
@@ -135,6 +135,7 @@
// PRIVATE DATA DEFINITIONS ------------------------------------------------
+static int DisplayTicker = 0;
static byte CheatLookup[256];
static int HealthMarker;
//static int ChainWiggle;
@@ -1929,8 +1930,6 @@
static void CheatTickerFunc(player_t * player, Cheat_t * cheat)
{
- extern int DisplayTicker;
-
DisplayTicker = !DisplayTicker;
if (DisplayTicker)
{
@@ -1940,6 +1939,8 @@
{
P_SetMessage(player, TXT_CHEATTICKEROFF, true);
}
+
+ I_DisplayFPSDots(DisplayTicker);
}
static void CheatArtifactAllFunc(player_t * player, Cheat_t * cheat)