fixed number range for BD style clock in level editor
authorHolger Schemel <info@artsoft.org>
Wed, 13 Mar 2024 09:09:39 +0000 (10:09 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 13 Mar 2024 09:09:52 +0000 (10:09 +0100)
src/editor.c

index 545686dad676bf13e9064cbb138c49c8a4ebd398..9f917b4325b1c77332eb30fef73d7b02c4498b4e 100644 (file)
@@ -10899,7 +10899,8 @@ static struct
   { EL_LIGHT_SWITCH_ACTIVE,    &level.time_light,                      TEXT_DURATION           },
   { EL_SHIELD_NORMAL,          &level.shield_normal_time,              TEXT_DURATION           },
   { EL_SHIELD_DEADLY,          &level.shield_deadly_time,              TEXT_DURATION           },
-  { EL_BD_CLOCK,               &level.bd_clock_extra_time,             TEXT_TIME_BONUS         },
+  { EL_BD_CLOCK,               &level.bd_clock_extra_time,             TEXT_TIME_BONUS,
+                               -100, 100                                                       },
   { EL_EXTRA_TIME,             &level.extra_time,                      TEXT_TIME_BONUS         },
   { EL_TIME_ORB_FULL,          &level.time_orb_time,                   TEXT_TIME_BONUS         },
   { EL_GAME_OF_LIFE,           &level.game_of_life[0],                 TEXT_GAME_OF_LIFE_1,0,8 },