r958 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Nov 3 03:42:21 EST 2006
Author: thilo
Date: 2006-11-03 03:42:21 -0500 (Fri, 03 Nov 2006)
New Revision: 958
Modified:
trunk/code/client/cl_parse.c
trunk/code/client/client.h
Log:
Only stop demo on map change if it was started by autorecord.
Modified: trunk/code/client/cl_parse.c
===================================================================
--- trunk/code/client/cl_parse.c 2006-11-03 08:22:38 UTC (rev 957)
+++ trunk/code/client/cl_parse.c 2006-11-03 08:42:21 UTC (rev 958)
@@ -505,11 +505,8 @@
CL_SystemInfoChanged();
// stop recording now so the demo won't have an unnecessary level load at the end.
- if(clc.demorecording)
+ if(cl_autoRecordDemo->integer && clc.demorecording)
CL_StopRecord_f();
- // same fore AVI recording
- if(CL_VideoRecording())
- CL_CloseAVI();
// reinitialize the filesystem if the game directory has changed
FS_ConditionalRestart( clc.checksumFeed );
Modified: trunk/code/client/client.h
===================================================================
--- trunk/code/client/client.h 2006-11-03 08:22:38 UTC (rev 957)
+++ trunk/code/client/client.h 2006-11-03 08:42:21 UTC (rev 958)
@@ -370,6 +370,7 @@
extern cvar_t *cl_inGameVideo;
extern cvar_t *cl_lanForcePackets;
+extern cvar_t *cl_autoRecordDemo;
//=================================================
More information about the quake3-commits
mailing list