moved some code
authorHolger Schemel <info@artsoft.org>
Mon, 25 Mar 2024 14:46:23 +0000 (15:46 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 25 Mar 2024 14:46:23 +0000 (15:46 +0100)
src/files.c

index 67f3f3e1bb55a4f5f110975b00b2168049d9ac43..4967317e9c1eb2778da3644d6ab35c2a910b8a27 100644 (file)
@@ -634,6 +634,12 @@ static struct LevelFileConfigInfo chunk_config_ELEM[] =
     &li.bd_snap_element,               EL_EMPTY
   },
 
+  {
+    EL_BD_SAND,                                -1,
+    TYPE_ELEMENT,                      CONF_VALUE_16_BIT(1),
+    &li.bd_sand_looks_like,            EL_BD_SAND
+  },
+
   {
     EL_BD_ROCK,                                -1,
     TYPE_ELEMENT,                      CONF_VALUE_16_BIT(1),
@@ -932,12 +938,6 @@ static struct LevelFileConfigInfo chunk_config_ELEM[] =
     &li.bd_gravity_affects_all,                TRUE
   },
 
-  {
-    EL_BD_SAND,                                -1,
-    TYPE_ELEMENT,                      CONF_VALUE_16_BIT(1),
-    &li.bd_sand_looks_like,            EL_BD_SAND
-  },
-
   // (the following values are related to various game elements)
 
   {