mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Don't break old clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1388 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fdf4e8c596
commit
8b2daa6133
1 changed files with 5 additions and 2 deletions
|
@ -959,6 +959,10 @@ void CL_Record_f (void)
|
||||||
// send all current light styles
|
// send all current light styles
|
||||||
for (i=0 ; i<MAX_LIGHTSTYLES ; i++)
|
for (i=0 ; i<MAX_LIGHTSTYLES ; i++)
|
||||||
{
|
{
|
||||||
|
if (i >= MAX_STANDARDLIGHTSTYLES)
|
||||||
|
if (!*cl_lightstyle[i].map)
|
||||||
|
continue;
|
||||||
|
|
||||||
MSG_WriteByte (&buf, svc_lightstyle);
|
MSG_WriteByte (&buf, svc_lightstyle);
|
||||||
MSG_WriteByte (&buf, (char)i);
|
MSG_WriteByte (&buf, (char)i);
|
||||||
MSG_WriteString (&buf, cl_lightstyle[i].map);
|
MSG_WriteString (&buf, cl_lightstyle[i].map);
|
||||||
|
@ -1132,9 +1136,8 @@ void CL_PlayDemo_f (void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifdef Q2CLIENT
|
|
||||||
cls.protocol = CP_QUAKEWORLD;
|
cls.protocol = CP_QUAKEWORLD;
|
||||||
#endif
|
|
||||||
ft = 0; //work out if the first line is a int for the track number.
|
ft = 0; //work out if the first line is a int for the track number.
|
||||||
while ((c = getc(cls.demofile)) != '\n')
|
while ((c = getc(cls.demofile)) != '\n')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue