From 333e0246a0c20b001b8eb67ecc6f93f5baeaea6d Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 1 Dec 2024 14:15:26 +0100 Subject: [PATCH] added time penalty counter also to time penalty element in editor So far, this counter was only displayed for the "voodoo doll" game element in the game element settings of the level editor. --- src/editor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/editor.c b/src/editor.c index 1e021714..1f9d89cb 100644 --- a/src/editor.c +++ b/src/editor.c @@ -12491,6 +12491,7 @@ static void DrawPropertiesInfo(void) #define TEXT_GAME_OF_LIFE_4 "Max neighbours to create" #define TEXT_TIME_BONUS "Extra time to solve level" #define TEXT_TIME_PENALTY "Time penalty if destroyed" +#define TEXT_TIME_PENALTY_2 "Time penalty for voodoo doll" #define TEXT_PERMEABILITY_RATE "slime permeability rate" #define TEXT_PERMEABILITY_BITS "slime permeability bits" #define TEXT_RANDOM_SEED "slime random number seed" @@ -12621,6 +12622,8 @@ static struct -100, 100 }, { EL_BDX_VOODOO_DOLL, &level.bd_voodoo_penalty_time, TEXT_TIME_PENALTY, 0, 100 }, + { EL_BDX_TIME_PENALTY, &level.bd_voodoo_penalty_time, TEXT_TIME_PENALTY_2, + 0, 100 }, { EL_BDX_SLIME, &level.bd_slime_permeability_rate, TEXT_PERMEABILITY_RATE, 0, 100 }, { EL_BDX_SLIME, &level.bd_slime_permeability_bits_c64, TEXT_PERMEABILITY_BITS, -- 2.34.1