From 870a7694eb666082abbdad5e2c78d19c9b23c691 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 16 Apr 2010 21:42:15 +0000 Subject: [PATCH] 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 --- sv_main.c | 2 +- svvm_cmds.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 " -- 2.39.2