From c1d5089995b87653739cca9cae6988a4e73bbfff Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 6 Apr 2020 15:47:06 +0200 Subject: Round rewards like in the old code --- src/game/bg_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } /* -- cgit