summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_combat.c4
-rw-r--r--src/game/tremulous.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 2c65abce..a5ea3ab7 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -44,11 +44,11 @@ void AddScore( gentity_t *ent, int score )
// make alien and human scores equivalent
if ( ent->client->pers.teamSelection == TEAM_ALIENS )
{
- score = rint( (double)score / 2.0 );
+ score = rint( ((float)score) / 2.0f );
}
// scale values down to fit the scoreboard better
- score = rint( (double)score / 50.0 );
+ score = rint( ((float)score) / 50.0f );
ent->client->ps.persistant[ PERS_SCORE ] += score;
CalculateRanks( );
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index 0afdf318..d58dc467 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -642,7 +642,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define HUMAN_TK_SUICIDE_PENALTY 150
#define HUMAN_BUILDER_SCOREINC 50 // builders receive this many points every 10 seconds
-#define ALIEN_BUILDER_SCOREINC AVM(50) // builders receive this many points every 10 seconds
+#define ALIEN_BUILDER_SCOREINC AVM(100) // builders receive this many points every 10 seconds
#define HUMAN_BUILDABLE_INACTIVE_TIME 90000