summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-04-06 15:47:06 +0200
committerPaweł Redman <pawel.redman@gmail.com>2020-04-06 22:20:59 +0200
commitc1d5089995b87653739cca9cae6988a4e73bbfff (patch)
tree4cf053e97eae543fe01a73f308a528fd7982655f /src/game
parent59d0e86d4f539c201cfb4d2827593fb8d80b5c7b (diff)
Round rewards like in the old code
Diffstat (limited to 'src/game')
-rw-r--r--src/game/bg_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c
index cb41601..0da713b 100644
--- a/src/game/bg_misc.c
+++ b/src/game/bg_misc.c
@@ -5256,7 +5256,7 @@ int BG_GetValueOfHuman( playerState_t *ps )
else if( portion > 1.0f )
portion = 1.0f;
- return ceil( ALIEN_MAX_SINGLE_KILLS * portion );
+ return ceil( ALIEN_MAX_SINGLE_KILLS * portion / EVO_TO_CREDS_RATE ) * EVO_TO_CREDS_RATE;
}
/*