Renamed sv_voxannounce to fcs_voxannounce. As it is FreeCS specific.

This commit is contained in:
Marco Cawthorne 2019-01-05 16:33:39 +01:00
parent 86038ac612
commit 098b701fe5
3 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ void PutClientInServer( void ) {
Money_AddMoney( self, autocvar_mp_startmoney );
if ( cvar( "mp_timelimit" ) > 0 ) {
if ( autocvar_sv_voxannounce == TRUE ) {
if ( autocvar_fcs_voxannounce == TRUE ) {
float fTimeLeft = cvar( "mp_timelimit" ) - ( time / 60 );
Vox_Singlecast( self, sprintf( "we have %s minutes remaining", Vox_TimeToString( fTimeLeft ) ) );
}

View file

@ -40,9 +40,9 @@ var float autocvar_mp_roundtime = 5;
var float autocvar_mp_timelimit = 60;
var string autocvar_motdfile = "motd.txt";
var int autocvar_mp_friendlyfire = FALSE;
var int autocvar_sv_voxannounce = FALSE;
// New, FreeCS exclusive variables
var int autocvar_fcs_voxannounce = FALSE;
var int autocvar_fcs_knifeonly = FALSE; // Disallows buying and spawning with weps
var int autocvar_fcs_swapteams = FALSE; // Swaps spawnpoints
var int autocvar_fcs_nopickups = FALSE; // Disable weapon items

View file

@ -65,7 +65,7 @@ void Timer_Update(void) {
// This map has been played enough we think
if (fGameState != GAME_OVER) {
if (cvar("mp_timelimit") > 0) {
if (autocvar_sv_voxannounce == TRUE) {
if (autocvar_fcs_voxannounce == TRUE) {
if (fVoxTimer > time) {
return;
}