rnd-20040918-1-src
[rocksndiamonds.git] / src / game.c
index 7d0c60eb83580239c4ea956f11e205189bbc1409..cb8a7974bcf2a5f5345cd7b50b22fa6b723c4040 100644 (file)
@@ -2061,15 +2061,9 @@ void InitGame()
   CloseDoor(DOOR_CLOSE_1);
 
   /* !!! FIX THIS (START) !!! */
-  if (level.file_info.type == LEVEL_FILE_TYPE_EM)
+  if (level.game_engine_type == GAME_ENGINE_TYPE_EM)
   {
-    if (em_main_init_game(level_nr, level.file_info.filename) != 0)
-    {
-      game_status = GAME_MODE_MAIN;
-      DrawMainMenu();
-
-      return;
-    }
+    InitGameEngine_EM();
   }
   else
   {
@@ -8595,6 +8589,7 @@ void GameActions()
   recorded_player_action = (tape.playing ? TapePlayAction() : NULL);
 
 #if 1
+  /* !!! CHECK THIS (tape.pausing is always FALSE here!) !!! */
   if (recorded_player_action == NULL && tape.pausing)
     return;
 #endif