From c96acec4286625f3cdf6a28b6341802139aa4144 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 7 Jun 2017 19:42:17 -0500 Subject: [PATCH] Fix (unused) check for map restart in CG_TransitionSnapshot --- code/cgame/cg_snapshot.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/cgame/cg_snapshot.c b/code/cgame/cg_snapshot.c index 4ad77d61..3a705590 100644 --- a/code/cgame/cg_snapshot.c +++ b/code/cgame/cg_snapshot.c @@ -138,8 +138,7 @@ static void CG_TransitionSnapshot( void ) { CG_ExecuteNewServerCommands( cg.nextSnap->serverCommandSequence ); // if we had a map_restart, set everthing with initial - if ( !cg.snap ) { - return; + if ( cg.mapRestart ) { } // clear the currentValid flag for all entities in the existing snapshot