mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
don't allow recording while playing a demo
This commit is contained in:
parent
fc4211c257
commit
406d596178
1 changed files with 6 additions and 7 deletions
|
@ -509,12 +509,6 @@ CL_WriteSetDemoMessage (void)
|
|||
Qflush (cls.demofile);
|
||||
}
|
||||
|
||||
/*
|
||||
CL_Record_f
|
||||
|
||||
record <demoname> <server>
|
||||
*/
|
||||
|
||||
void
|
||||
CL_Record (const char *argv1)
|
||||
{
|
||||
|
@ -812,6 +806,11 @@ CL_Record (const char *argv1)
|
|||
// done
|
||||
}
|
||||
|
||||
/*
|
||||
CL_Record_f
|
||||
|
||||
record <demoname> <server>
|
||||
*/
|
||||
void
|
||||
CL_Record_f (void)
|
||||
{
|
||||
|
@ -822,7 +821,7 @@ CL_Record_f (void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (cls.state != ca_active) {
|
||||
if (cls.demoplayback || cls.state != ca_active) {
|
||||
Con_Printf ("You must be connected to record.\n");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue