]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix serious bug in DP_SV_CLIENTCAMERA that made it break in multiplayer
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Apr 2010 21:42:15 +0000 (21:42 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 30 Apr 2010 17:14:30 +0000 (19:14 +0200)
added DP_SV_CLIENTCAMERA extension name

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10092 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=870a7694eb666082abbdad5e2c78d19c9b23c691

sv_main.c
svvm_cmds.c

index 9754e4925b67735510b7a7e490abecbbae73e338..abd67fcf02500e0226c3038a2b50f9287e6f7846 100644 (file)
--- 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);
                        }
                }
index 160c12ad6bcbebf508d508a2a73f79be6a597b56..224d80958a7713dc7a7f9d362690848953b5c582 100644 (file)
@@ -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 "