diff options
author | Simon Howard | 2008-10-08 18:58:37 +0000 |
---|---|---|
committer | Simon Howard | 2008-10-08 18:58:37 +0000 |
commit | 066b90fc207b8f09e53021f18f8059ae5af40fc5 (patch) | |
tree | 72bd862d6a375fa00b42aa954ee7359bbfddf321 | |
parent | d4d0f9945cefdb86241b5bd095e82ddbfca0e134 (diff) | |
download | chocolate-doom-066b90fc207b8f09e53021f18f8059ae5af40fc5.tar.gz chocolate-doom-066b90fc207b8f09e53021f18f8059ae5af40fc5.tar.bz2 chocolate-doom-066b90fc207b8f09e53021f18f8059ae5af40fc5.zip |
Use internal DisplayTicker variable for hexen/sb_bar.c.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1339
-rw-r--r-- | src/hexen/sb_bar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hexen/sb_bar.c b/src/hexen/sb_bar.c index f567ce11..9930cccc 100644 --- a/src/hexen/sb_bar.c +++ b/src/hexen/sb_bar.c @@ -135,6 +135,7 @@ boolean i_CDMusic; // in Watcom, defined in i_ibm // PRIVATE DATA DEFINITIONS ------------------------------------------------ +static int DisplayTicker = 0; static byte CheatLookup[256]; static int HealthMarker; //static int ChainWiggle; @@ -1929,8 +1930,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) { @@ -1940,6 +1939,8 @@ static void CheatTickerFunc(player_t * player, Cheat_t * cheat) { P_SetMessage(player, TXT_CHEATTICKEROFF, true); } + + I_DisplayFPSDots(DisplayTicker); } static void CheatArtifactAllFunc(player_t * player, Cheat_t * cheat) |