diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-11 23:10:07 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-11 23:10:07 +0000 |
| commit | 182c77721e60c6a3b68cc3f1f83e485374d85096 (patch) | |
| tree | 9d87e573333dac3f21419b8666c409eaf36a627f /src/engine/client/client.c | |
| parent | 7cf32e6f972ca4f7cd0bdb1e8a85930a16244747 (diff) | |
| download | zcatch-182c77721e60c6a3b68cc3f1f83e485374d85096.tar.gz zcatch-182c77721e60c6a3b68cc3f1f83e485374d85096.zip | |
cleaned up the console variables
Diffstat (limited to 'src/engine/client/client.c')
| -rw-r--r-- | src/engine/client/client.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/engine/client/client.c b/src/engine/client/client.c index 7a545988..646ca4b4 100644 --- a/src/engine/client/client.c +++ b/src/engine/client/client.c @@ -950,8 +950,8 @@ static void client_update() } /* STRESS TEST: join the server again */ - if(client_state() == CLIENTSTATE_OFFLINE && config.stress && (frames%100) == 0) - client_connect(config.cl_stress_server); + if(client_state() == CLIENTSTATE_OFFLINE && config.dbg_stress && (frames%100) == 0) + client_connect(config.dbg_stress_server); /* pump the network */ client_pump_network(); @@ -996,8 +996,11 @@ static void client_run() net = netclient_open(bindaddr, 0); /* connect to the server if wanted */ + /* if(config.cl_connect[0] != 0) client_connect(config.cl_connect); + config.cl_connect[0] = 0; + */ inp_mouse_mode_relative(); @@ -1073,7 +1076,7 @@ static void client_run() { client_update(); - if(config.stress) + if(config.dbg_stress) { if((frames%10) == 0) { @@ -1093,7 +1096,7 @@ static void client_run() break; /* be nice */ - if(config.cpu_throttle || !gfx_window_active()) + if(config.cl_cpu_throttle || !gfx_window_active()) thread_sleep(1); if(reporttime < time_get()) |