rnd-19981227-1
[rocksndiamonds.git] / src / init.c
index 4b871020796012f2e968bc92d2320d76c497826f..63e6e57699883e25e557e1d7cc1b825ad1c2ad41 100644 (file)
@@ -1366,6 +1366,14 @@ void InitElementProperties()
   };
   static int ep_has_content_num = sizeof(ep_has_content)/sizeof(int);
 
+  static int ep_eatable[] =
+  {
+    EL_ERDREICH,
+    EL_SP_BASE,
+    EL_SP_BUG
+  };
+  static int ep_eatable_num = sizeof(ep_eatable)/sizeof(int);
+
   static long ep_bit[] =
   {
     EP_BIT_AMOEBALIVE,
@@ -1393,7 +1401,8 @@ void InitElementProperties()
     EP_BIT_MAMPF3,
     EP_BIT_PUSHABLE,
     EP_BIT_PLAYER,
-    EP_BIT_HAS_CONTENT
+    EP_BIT_HAS_CONTENT,
+    EP_BIT_EATABLE
   };
   static int *ep_array[] =
   {
@@ -1422,7 +1431,8 @@ void InitElementProperties()
     ep_mampf3,
     ep_pushable,
     ep_player,
-    ep_has_content
+    ep_has_content,
+    ep_eatable
   };
   static int *ep_num[] =
   {
@@ -1451,7 +1461,8 @@ void InitElementProperties()
     &ep_mampf3_num,
     &ep_pushable_num,
     &ep_player_num,
-    &ep_has_content_num
+    &ep_has_content_num,
+    &ep_eatable_num
   };
   static int num_properties = sizeof(ep_num)/sizeof(int *);