summaryrefslogtreecommitdiff
path: root/src/cgame/cg_main.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-05-31 15:32:00 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-05-31 15:32:00 +0200
commit711345101d6bd021dc1088e36757ba19ecc2dd5a (patch)
tree71fcf2eb39de101706e7e07a5c12f2f1e02c28b2 /src/cgame/cg_main.c
parent05e4e1479b4a57d781572afa4346a6ef960043de (diff)
Implement damage totals display.
Diffstat (limited to 'src/cgame/cg_main.c')
-rw-r--r--src/cgame/cg_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index 7ac160e..2f78110 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -239,6 +239,7 @@ vmCvar_t cg_healthBarSize;
vmCvar_t cg_healthBarAlpha;
vmCvar_t cg_hitSounds;
+vmCvar_t cg_hitStats;
typedef struct
{
@@ -395,7 +396,8 @@ static cvarTable_t cvarTable[ ] =
{ &cg_healthBarSize, "cg_healthBarSize", "2000", CVAR_ARCHIVE },
{ &cg_healthBarAlpha, "cg_healthBarAlpha", "0.5", CVAR_ARCHIVE },
- { &cg_hitSounds, "cg_hitSounds", "1", CVAR_ARCHIVE }
+ { &cg_hitSounds, "cg_hitSounds", "1", CVAR_ARCHIVE },
+ { &cg_hitStats, "cg_hitStats", "0", CVAR_ARCHIVE }
};
static int cvarTableSize = sizeof( cvarTable ) / sizeof( cvarTable[0] );