fixed saving BD style snap element in level file
authorHolger Schemel <holger.schemel@virtion.de>
Tue, 31 Dec 2024 14:11:15 +0000 (15:11 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Tue, 31 Dec 2024 14:11:15 +0000 (15:11 +0100)
src/files.c

index 50e1f63f0e6a2373c4a66b43d8e5a0d5044c7657..f3cfb2c378f329fd1fd0341ef33329a223607d81 100644 (file)
@@ -682,7 +682,7 @@ static struct LevelFileConfigInfo chunk_config_ELEM[] =
   },
   {
     EL_BDX_PLAYER,                     -1,
-    TYPE_INTEGER,                      CONF_VALUE_8_BIT(6),
+    TYPE_ELEMENT,                      CONF_VALUE_16_BIT(1),
     &li.bd_snap_element,               EL_EMPTY
   },