replaced duplicated code with equivalent function call
authorHolger Schemel <info@artsoft.org>
Sat, 10 Mar 2018 19:32:44 +0000 (20:32 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:18 +0000 (23:21 +0100)
src/tape.c

index abcaf4817c4551e9d231671a4a5a235146cdcef4..447ce12c92367faa1ff10491ac8761d450fe693b 100644 (file)
@@ -598,18 +598,7 @@ void TapeStartRecording(int random_seed)
 
 static void TapeStartGameRecording()
 {
-  TapeStartRecording(level.random_seed);
-
-#if defined(NETWORK_AVALIABLE)
-  if (options.network)
-  {
-    SendToServer_StartPlaying();
-
-    return;
-  }
-#endif
-
-  InitGame();
+  StartGameActions(options.network, TRUE, level.random_seed);
 }
 
 static void TapeAppendRecording()