diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-04-06 15:47:06 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-04-06 22:20:59 +0200 |
commit | c1d5089995b87653739cca9cae6988a4e73bbfff (patch) | |
tree | 4cf053e97eae543fe01a73f308a528fd7982655f /src/game | |
parent | 59d0e86d4f539c201cfb4d2827593fb8d80b5c7b (diff) |
Round rewards like in the old code
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_misc.c | 2 |
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; } /* |