From e69f0fb5647bbd780db169c979f3a5b7302cfe33 Mon Sep 17 00:00:00 2001 From: molivier Date: Mon, 13 Dec 2004 10:40:44 +0000 Subject: [PATCH] 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 --- sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2