From: havoc Date: Fri, 16 Apr 2010 21:42:15 +0000 (+0000) Subject: fix serious bug in DP_SV_CLIENTCAMERA that made it break in multiplayer X-Git-Tag: xonotic-v0.1.0preview~230^2~383 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=870a7694eb666082abbdad5e2c78d19c9b23c691;p=xonotic%2Fdarkplaces.git fix serious bug in DP_SV_CLIENTCAMERA that made it break in multiplayer added DP_SV_CLIENTCAMERA extension name git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10092 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index e1330214..fb0be740 100644 --- a/sv_main.c +++ b/sv_main.c @@ -2366,7 +2366,7 @@ static void SV_UpdateToReliableMessages (void) } if( oldclientcamera != host_client->clientcamera ) { - MSG_WriteByte (&sv.reliable_datagram, svc_setview ); + MSG_WriteByte (&host_client->netconnection->message, svc_setview ); MSG_WriteShort (&host_client->netconnection->message, host_client->clientcamera); } } diff --git a/svvm_cmds.c b/svvm_cmds.c index 160c12ad..224d8095 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -138,6 +138,7 @@ char *vm_sv_extensions = "DP_SPRITE32 " "DP_SV_BOTCLIENT " "DP_SV_BOUNCEFACTOR " +"DP_SV_CLIENTCAMERA " "DP_SV_CLIENTCOLORS " "DP_SV_CLIENTNAME " "DP_SV_CMD "