diff options
author | Mikko Tiusanen <ams@daug.net> | 2015-03-24 22:07:07 +0200 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2015-03-24 22:07:07 +0200 |
commit | 216fc980dd8221198e491745a0eaa029c37f74d3 (patch) | |
tree | 2421401ab51d0bc76b74388a9e450f9b1cc2ff0f /src/game/g_main.c | |
parent | d6a114274103ec2198370d636fe27b545ba651d7 (diff) |
Fixed issues with credit gain scaling and changed the scaling to be non linear.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 2d0c788..d8003cc 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -193,6 +193,7 @@ vmCvar_t g_KillRewardMultiplierH; vmCvar_t g_ConstantRewardFactor; vmCvar_t g_MinRewardFactor; vmCvar_t g_MaxRewardFactor; +vmCvar_t g_RewardFactorPower; vmCvar_t g_TimerPeriod; vmCvar_t g_TimerCommand; vmCvar_t g_ForceRandomTeams; @@ -371,6 +372,7 @@ static cvarTable_t gameCvarTable[ ] = { &g_ConstantRewardFactor, "g_ConstantRewardFactor", "0", CVAR_ARCHIVE, 0, qfalse }, { &g_MinRewardFactor, "g_MinRewardFactor", "0.2", CVAR_ARCHIVE, 0, qfalse }, { &g_MaxRewardFactor, "g_MaxRewardFactor", "5.0", CVAR_ARCHIVE, 0, qfalse }, + { &g_RewardFactorPower, "g_RewardFactorPower", "0.3025", CVAR_ARCHIVE, 0, qfalse }, { &g_TimerPeriod, "g_TimerPeriod", "0", CVAR_ARCHIVE, 0, qfalse }, { &g_TimerCommand, "g_TimerCommand", "", CVAR_ARCHIVE, 0, qfalse }, { &g_ForceRandomTeams, "g_ForceRandomTeams", "0", CVAR_ARCHIVE, 0, qfalse }, |