Remove check for cg_recordSPDemoName.string array address

It will always be true.
This commit is contained in:
Zack Middleton 2015-06-28 17:55:25 -05:00
parent da8a74d734
commit f0c4c185fc

View file

@ -480,7 +480,7 @@ static void CG_MapRestart( void ) {
#ifdef MISSIONPACK
if (cg_singlePlayerActive.integer) {
trap_Cvar_Set("ui_matchStartTime", va("%i", cg.time));
if (cg_recordSPDemo.integer && cg_recordSPDemoName.string && *cg_recordSPDemoName.string) {
if (cg_recordSPDemo.integer && *cg_recordSPDemoName.string) {
trap_SendConsoleCommand(va("set g_synchronousclients 1 ; record %s \n", cg_recordSPDemoName.string));
}
}