zinx' klik mod makes heavy use of makestatic and that was causing the

singon buffer to overflow. call SV_FlushSignon before writing the static
entity data.
This commit is contained in:
Bill Currie 2002-09-04 15:12:05 +00:00
parent 92db391e7c
commit 7af8e2952e

View file

@ -1156,6 +1156,9 @@ PF_makestatic (progs_t *pr)
ent = P_EDICT (pr, 0);
// flush the signon message out to a separate buffer if nearly full
SV_FlushSignon ();
MSG_WriteByte (&sv.signon, svc_spawnstatic);
model = PR_GetString (pr, SVstring (ent, model));