diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 12:11:39 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:44 +0000 |
commit | a1e7a4bd0512f35571b1a480bb24b35e0fdb3363 (patch) | |
tree | bdd06e84864a13ef921e5fd504137be19318bb33 /src/game/bg_voice.c | |
parent | de074a1dbb77892f11c8f33f5d92be26e761e751 (diff) |
* Remove extra trailing newline from admin chat commands (oops)
* Rename private message, admin message functions for consistency
* Cancel a reload when switching weapons, and prevent reloading a full clip
* Simplify admin command formatting and in doing so prevent some compiler
warnings on OS X
* Fix some admin messages (s/kicked/banned/, no bans to show, can't perm ban)
* Have tremulous_alien_common_hud include tremulous_common_hud since they're
always used together anyway
* Remove some redundant uses of va()
Diffstat (limited to 'src/game/bg_voice.c')
-rw-r--r-- | src/game/bg_voice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_voice.c b/src/game/bg_voice.c index 91f65617..2290d0ae 100644 --- a/src/game/bg_voice.c +++ b/src/game/bg_voice.c @@ -314,7 +314,7 @@ static voiceTrack_t *BG_VoiceParseCommand( int handle ) voiceTracks = voiceTracks->next; } - if( !trap_FS_FOpenFile( va( "%s", token.string ), NULL, FS_READ ) ) + if( !trap_FS_FOpenFile( token.string, NULL, FS_READ ) ) { int line; char filename[ MAX_QPATH ]; |