rnd-20030217-1-src
[rocksndiamonds.git] / src / editor.c
index 633a5586256d065d67ddffdf4e666e20eda4c762..0b62ca192c91ba7f153f274a5d46f5dea9b45a99 100644 (file)
@@ -2491,7 +2491,7 @@ static void CopyCustomElementPropertiesToEditor()
     int properties = Properties1[element];
 
     custom_element_properties[i].indestructible =
-      ((properties & EP_BIT_MASSIVE) != 0 ? TRUE : FALSE);
+      ((properties & EP_BIT_INDESTRUCTIBLE) != 0 ? TRUE : FALSE);
 
     custom_element_properties[i].can_fall =
       ((properties & EP_BIT_CAN_FALL) != 0 ? TRUE : FALSE);
@@ -2518,9 +2518,9 @@ static void CopyCustomElementPropertiesToGame()
     Properties1[element] = EP_BITMASK_DEFAULT;
 
     if (custom_element_properties[i].indestructible)
-      Properties1[element] |= EP_BIT_MASSIVE;
+      Properties1[element] |= EP_BIT_INDESTRUCTIBLE;
     else
-      Properties1[element] &= ~EP_BIT_MASSIVE;
+      Properties1[element] &= ~EP_BIT_INDESTRUCTIBLE;
 
     if (custom_element_properties[i].can_fall)
       Properties1[element] |= EP_BIT_CAN_FALL;