From: Holger Schemel Date: Tue, 30 Apr 2024 23:49:27 +0000 (+0200) Subject: fixed two small bugs for BD amoeba properties in editor X-Git-Tag: 4.4.0.0-test-1~16 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b65a3d50513eaf5c2ef928c7345b2c2eac16c864;p=rocksndiamonds.git fixed two small bugs for BD amoeba properties in editor --- diff --git a/src/editor.c b/src/editor.c index d17e9684..c6f6d7bd 100644 --- a/src/editor.c +++ b/src/editor.c @@ -12123,7 +12123,7 @@ static struct { EL_EMC_DRIPPER, &level.amoeba_speed, TEXT_AMOEBA_SPEED }, { EL_BDX_AMOEBA_1, &level.bd_amoeba_1_threshold_too_big, TEXT_AMOEBA_THRESHOED }, { EL_BDX_AMOEBA_1, &level.bd_amoeba_1_slow_growth_time, TEXT_AMOEBA_SLOW_TIME }, - { EL_BDX_AMOEBA_2, &level.bd_amoeba_1_slow_growth_rate, TEXT_AMOEBA_SLOW_RATE, + { EL_BDX_AMOEBA_1, &level.bd_amoeba_1_slow_growth_rate, TEXT_AMOEBA_SLOW_RATE, 0, 100 }, { EL_BDX_AMOEBA_1, &level.bd_amoeba_1_fast_growth_rate, TEXT_AMOEBA_FAST_RATE, 0, 100 }, @@ -12358,8 +12358,8 @@ static void DrawPropertiesConfig(void) (CAN_GROW(properties_element) ? 1 : 0) + (COULD_MOVE_INTO_ACID(properties_element) ? 1 : 0) + (MAYBE_DONT_COLLIDE_WITH(properties_element) ? 1 : 0) + - (properties_element == EL_BDX_AMOEBA_1 ? 3 : 0) + - (properties_element == EL_BDX_AMOEBA_2 ? 3 : 0) + + (properties_element == EL_BDX_AMOEBA_1 ? 2 : 0) + + (properties_element == EL_BDX_AMOEBA_2 ? 2 : 0) + (properties_element == EL_BDX_MAGIC_WALL ? 1 : 0) + (properties_element == EL_BDX_VOODOO_DOLL ? 4 : 0) + (properties_element == EL_BDX_SLIME ? 1 : 0) +