diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-14 19:08:11 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:24:15 +0200 |
commit | 5e472f35354986a26ec9460fff2fc8b14dadf773 (patch) | |
tree | 627eb35c40a19ce67149a550890a055568e3c805 /src/game/g_cmds.c | |
parent | 91496cdb54e11d8ac746bb6982b0ade24c035503 (diff) |
fix a bunch of %i format flags / arguments
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 1233e31..163636f 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -5791,7 +5791,7 @@ void G_PrivateMessage( gentity_t *ent ) matches, color, msg, - ent ? ent-g_entities : -1 ) ); + ent ? (int)( ent-g_entities ) : -1 ) ); trap_SendServerCommand( pids[ i ], va( "cp \"^%cprivate message from ^7%s^7\"", color, |