diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-08 20:47:56 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-08 20:47:56 +0000 |
| commit | 3544db49270f6d99c8b2126f294d38267e2899cb (patch) | |
| tree | 02a17b114cacf8ce634d65c6f53f3b6537ee06ce /src/game/server/hooks.cpp | |
| parent | 1d094181ed06edd6f9d851f5d802bc9d03b6c352 (diff) | |
| download | zcatch-3544db49270f6d99c8b2126f294d38267e2899cb.tar.gz zcatch-3544db49270f6d99c8b2126f294d38267e2899cb.zip | |
fixed #490 (insert the player info in the sv_setinfo message into the snapshot instead)
Diffstat (limited to 'src/game/server/hooks.cpp')
| -rw-r--r-- | src/game/server/hooks.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index b3425694..d8e6c9bb 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -281,15 +281,6 @@ void mods_message(int msgtype, int client_id) if(msgtype == NETMSGTYPE_CL_STARTINFO) { - // a client that connected! - - // send all info to this client - for(int i = 0; i < MAX_CLIENTS; i++) - { - if(game.players[i]) - game.send_info(i, client_id); - } - // send tuning parameters to client send_tuning_params(client_id); @@ -306,8 +297,6 @@ void mods_message(int msgtype, int client_id) m.pack(MSGFLAG_VITAL|MSGFLAG_FLUSH); server_send_msg(client_id); } - - game.send_info(client_id, -1); } else if (msgtype == NETMSGTYPE_CL_EMOTICON) { |