about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-30 19:38:08 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-30 19:38:08 +0000
commit75273485c47247d13e5d533b19b65402db6d660c (patch)
tree56eae7f0a7ffcec425c96aa8446fc111513f89e9 /src/game
parentcddf3c0f60d2d74c76a7845606ad47a9fb9f53d3 (diff)
downloadzcatch-75273485c47247d13e5d533b19b65402db6d660c.tar.gz
zcatch-75273485c47247d13e5d533b19b65402db6d660c.zip
fixed closing of map download when disconnecting
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_variables.h2
-rw-r--r--src/game/server/gs_server.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_variables.h b/src/game/g_variables.h
index c08bd10d..02ad4fbc 100644
--- a/src/game/g_variables.h
+++ b/src/game/g_variables.h
@@ -28,7 +28,7 @@ MACRO_CONFIG_INT(player_color_body, 65408, 0, 0)
 MACRO_CONFIG_INT(player_color_feet, 65408, 0, 0)
 MACRO_CONFIG_STR(player_skin, 64, "default")
 
-MACRO_CONFIG_INT(dbg_bots, 0, 0, 11)
+MACRO_CONFIG_INT(dbg_dummies, 0, 0, 11)
 MACRO_CONFIG_INT(dbg_firedelay, 0, 0, 1)
 MACRO_CONFIG_INT(dbg_flow, 0, 0, 1)
 MACRO_CONFIG_INT(dbg_tuning, 0, 0, 1)
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp
index 22962470..bebce635 100644
--- a/src/game/server/gs_server.cpp
+++ b/src/game/server/gs_server.cpp
@@ -2314,9 +2314,9 @@ void mods_init()
 
 	world->insert_entity(gameobj);
 
-	if(config.dbg_bots)
+	if(config.dbg_dummies)
 	{
-		for(int i = 0; i < config.dbg_bots ; i++)
+		for(int i = 0; i < config.dbg_dummies ; i++)
 		{
 			mods_connected(MAX_CLIENTS-i-1);
 			mods_client_enter(MAX_CLIENTS-i-1);