mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Fixes some messages when qtv disconnects. No functional difference, just additional+different prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2441 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
acf93f1548
commit
9d7a3b5d2a
1 changed files with 6 additions and 3 deletions
|
@ -112,7 +112,7 @@ void DestFlush(qboolean compleate)
|
|||
|
||||
if (!demo.dest)
|
||||
{
|
||||
SV_MVDStop(2, false);
|
||||
SV_MVDStop(3, false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -1525,7 +1525,7 @@ void SV_MVDStop (int reason, qboolean mvdonly)
|
|||
return;
|
||||
}
|
||||
|
||||
if (reason == 2)
|
||||
if (reason == 2 || reason == 3)
|
||||
{
|
||||
DestCloseAllFlush(true, mvdonly);
|
||||
// stop and remove
|
||||
|
@ -1533,7 +1533,10 @@ void SV_MVDStop (int reason, qboolean mvdonly)
|
|||
if (!demo.dest)
|
||||
sv.mvdrecording = false;
|
||||
|
||||
SV_BroadcastPrintf (PRINT_CHAT, "Server recording canceled, demo removed\n");
|
||||
if (reason == 3)
|
||||
SV_BroadcastPrintf (PRINT_CHAT, "QTV disconnected\n");
|
||||
else
|
||||
SV_BroadcastPrintf (PRINT_CHAT, "Server recording canceled, demo removed\n");
|
||||
|
||||
Cvar_ForceSet(Cvar_Get("serverdemo", "", CVAR_NOSET, ""), "");
|
||||
|
||||
|
|
Loading…
Reference in a new issue