From e3683b17c12391ee7af9dc5c73d6149ccb343b6b Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 11 Feb 2006 14:58:48 +0000 Subject: [PATCH] Changed the remaining cvars to use the macro. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1949 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_main.c | 2 +- engine/sw/d_init.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index 0b74d7dde..da4247d6e 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -61,7 +61,7 @@ sv_masterlist_t sv_masterlist[] = { {true, SCVAR("sv_masterextra1", "ghdigital.com")}, //69.59.212.88 {true, SCVAR("sv_masterextra2", "dpmaster.deathmask.net")}, //209.164.24.243 {true, SCVAR("sv_masterextra3", "12.166.196.192")}, //blaze.mindphukd.org (doesn't resolve currently but works as an ip) - {false, {NULL}} + {false, SCVAR(NULL, NULL)} }; client_t *host_client; // current client diff --git a/engine/sw/d_init.c b/engine/sw/d_init.c index aa60f76c0..1defae115 100644 --- a/engine/sw/d_init.c +++ b/engine/sw/d_init.c @@ -24,9 +24,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define NUM_MIPS 4 -cvar_t d_subdiv16 = {"d_subdiv16", "1"}; -cvar_t d_mipcap = {"d_mipcap", "0"}; -cvar_t d_mipscale = {"d_mipscale", "0.5"}; +cvar_t d_subdiv16 = SCVAR("d_subdiv16", "1"); +cvar_t d_mipcap = SCVAR("d_mipcap", "0"); +cvar_t d_mipscale = SCVAR("d_mipscale", "0.5"); extern cvar_t d_smooth; surfcache_t *d_initial_rover;