removed runtime values from level structure for EM and SP engine
[rocksndiamonds.git] / src / game_em / cave.c
index b89c42f3adeba2c430f76c47166e80569b5ded94..585bfd2f0de6c10435be6d33dce4453bb8997d1d 100644 (file)
@@ -18,13 +18,17 @@ void setLevelInfoToDefaults_EM(void)
   for (i = 0; i < MAX_PLAYERS; i++)
     native_em_level.ply[i] = &ply[i];
 
+  game_em.lev = &lev;
+  for (i = 0; i < MAX_PLAYERS; i++)
+    game_em.ply[i] = &ply[i];
+
   lev.width = 64;
   lev.height = 32;
 
   for (i = 0; i < MAX_PLAYERS; i++)
   {
-    ply[i].x_initial = 0;
-    ply[i].y_initial = 0;
+    ply[i].x_initial = -1;
+    ply[i].y_initial = -1;
   }
 
   lev.lenses_cnt_initial = 0;