From: molivier Date: Mon, 13 Dec 2004 10:40:44 +0000 (+0000) Subject: Fixed model automatic precaching in the new network protocol X-Git-Tag: xonotic-v0.1.0preview~5303 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e69f0fb5647bbd780db169c979f3a5b7302cfe33;p=xonotic%2Fdarkplaces.git Fixed model automatic precaching in the new network protocol git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4836 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index c5eb5516..48c3b912 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1339,7 +1339,7 @@ int SV_ModelIndex(char *s, int precachemode) if (sv.protocol == PROTOCOL_DARKPLACES6) { MSG_WriteByte(&sv.reliable_datagram, svc_precache); - MSG_WriteShort(&sv.reliable_datagram, i + 32768); + MSG_WriteShort(&sv.reliable_datagram, i); MSG_WriteString(&sv.reliable_datagram, filename); } return i;