fixed bug with reanimating killed player by CE condition
[rocksndiamonds.git] / src / game_mm / mm_init.c
index 73ab232dc4a2fc9072f568eda0619f408f2e86c4..3444db01235c91e8ed0e46b23aef32facc7a123f 100644 (file)
@@ -22,7 +22,7 @@ unsigned int InitEngineRandom_MM(int seed)
   return InitEngineRandom(seed);
 }
 
-void InitElementProperties_MM()
+void InitElementProperties_MM(void)
 {
   int i,j;
 
@@ -221,25 +221,25 @@ void InitElementProperties_MM()
   };
   static int num_properties = sizeof(ep_num) / sizeof(int *);
 
-  for(i = 0; i < MAX_ELEMENTS; i++)
+  for (i = 0; i < MAX_ELEMENTS; i++)
     Elementeigenschaften[i] = 0;
 
-  for(i = 0; i < num_properties; i++)
-    for(j = 0; j < *(ep_num[i]); j++)
+  for (i = 0; i < num_properties; i++)
+    for (j = 0; j < *(ep_num[i]); j++)
       Elementeigenschaften[(ep_array[i])[j]] |= ep_bit[i];
 
-  for(i = EL_CHAR_START; i <= EL_CHAR_END; i++)
+  for (i = EL_CHAR_START; i <= EL_CHAR_END; i++)
     Elementeigenschaften[i] |= (EP_BIT_CHAR | EP_BIT_INACTIVE);
 
-  for(i = EL_WALL_START; i <= EL_WALL_END; i++)
+  for (i = EL_WALL_START; i <= EL_WALL_END; i++)
     Elementeigenschaften[i] |= EP_BIT_WALL;
 }
 
-void mm_open_all()
+void mm_open_all(void)
 {
   InitElementProperties_MM();
 }
 
-void mm_close_all()
+void mm_close_all(void)
 {
 }