summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 0658849..6fe40b7 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1554,7 +1554,7 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker,
G_admin_tklog_log( attacker, NULL, mod );
- trap_SendConsoleCommand( EXEC_APPEND, va( "!putteam %d s %s\n", attacker - g_entities, g_adminTempSpec.string ) );
+ trap_SendConsoleCommand( EXEC_APPEND, va( "!putteam %d s %s\n", (int)( attacker - g_entities ), g_adminTempSpec.string ) );
attacker->client->pers.statscounters.spreebleeds = 0;
}
else if( attacker->client->pers.statscounters.spreebleeds > g_bleedingSpree.integer * 66 &&
@@ -1571,7 +1571,7 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker,
attacker->client->pers.statscounters.spreebleeds > g_bleedingSpree.integer * 100 + g_bleedingSpree.integer * 20 )
{
trap_SendConsoleCommand( EXEC_APPEND,
- va("!kick %d auto-kick for team bleeding\n", ( attacker - g_entities )) );
+ va("!kick %d auto-kick for team bleeding\n", (int)( attacker - g_entities )) );
attacker->client->pers.statscounters.spreebleeds = -9000;
}
else if( attacker->client->pers.statscounters.spreebleeds > g_bleedingSpree.integer * 100 &&