From f29276e8d544f77e6297ece5264b451740f0c19e Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 11 Jan 2009 14:48:38 +0000 Subject: fixed so the number of players in the server info is correct --- src/game/client/gameclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/client/gameclient.cpp') diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 6b3f3492..9af337e0 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -588,7 +588,8 @@ void GAMECLIENT::on_snapshot() clients[cid].skin_info.color_feet = vec4(1,1,1,1); } - clients[cid].update_render_info(); + clients[cid].update_render_info(); + gameclient.snap.num_players++; } else if(item.type == NETOBJTYPE_PLAYER_INFO) -- cgit 1.4.1