about summary refs log tree commit diff
path: root/src/game/client/gameclient.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 14:48:38 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 14:48:38 +0000
commitf29276e8d544f77e6297ece5264b451740f0c19e (patch)
tree3e1de9e99ecb7ca4aa26d256284a35c623e11831 /src/game/client/gameclient.cpp
parente60236e3046f7012efc7232f490207aeb498b598 (diff)
downloadzcatch-f29276e8d544f77e6297ece5264b451740f0c19e.tar.gz
zcatch-f29276e8d544f77e6297ece5264b451740f0c19e.zip
fixed so the number of players in the server info is correct
Diffstat (limited to 'src/game/client/gameclient.cpp')
-rw-r--r--src/game/client/gameclient.cpp3
1 files changed, 2 insertions, 1 deletions
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)