This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 9a699f2e5f48be3854612b361271e3c5a7f61fb6
Author: MAN-AT-ARMS <m4n4t4...@gmail.com>
Date:   Tue Jun 30 20:29:37 2015 -0400

    All: Remove check for cg_recordSPDemoName.string array address (Unused)
---
 MP/code/cgame/cg_servercmds.c | 2 +-
 SP/code/cgame/cg_servercmds.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/cgame/cg_servercmds.c b/MP/code/cgame/cg_servercmds.c
index d2256dc..0021e9c 100644
--- a/MP/code/cgame/cg_servercmds.c
+++ b/MP/code/cgame/cg_servercmds.c
@@ -764,7 +764,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 ) );
                }
        }
diff --git a/SP/code/cgame/cg_servercmds.c b/SP/code/cgame/cg_servercmds.c
index c8a524c..530ee08 100644
--- a/SP/code/cgame/cg_servercmds.c
+++ b/SP/code/cgame/cg_servercmds.c
@@ -751,7 +751,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 ) );
                }
        }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to