about summary refs log tree commit diff
path: root/src/game/server
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-09 15:46:44 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-09 15:46:44 +0000
commitfd1435a10da6f65463affaf61d6f687f65a07e5b (patch)
tree2e8a412103344e9b7bfb0d1cd1e8b15b228fd769 /src/game/server
parentd029e67223a1a4afa74375e81c82f1f5266bcff0 (diff)
downloadzcatch-fd1435a10da6f65463affaf61d6f687f65a07e5b.tar.gz
zcatch-fd1435a10da6f65463affaf61d6f687f65a07e5b.zip
fixed has left messages when connecting with wrong password. fixed correct name when leaving the server. removed the physics when a client disconnects
Diffstat (limited to 'src/game/server')
-rw-r--r--src/game/server/game_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/server/game_server.cpp b/src/game/server/game_server.cpp
index aaabdbc3..2d3d02b0 100644
--- a/src/game/server/game_server.cpp
+++ b/src/game/server/game_server.cpp
@@ -1601,6 +1601,7 @@ void mods_client_drop(int client_id)
 
 	gameobj->on_player_death(&players[client_id], 0, -1);
 	world->remove_entity(&players[client_id]);
+	world->core.players[client_id] = 0x0;
 	players[client_id].client_id = -1;
 }