X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=5c3298f84201a9e98daeaa1190e17a2500812152;hb=35a55f8aa20694a478ab6e70057167014661469b;hp=8e9904e7d0d55ad3b27fbab90052fae056c7613a;hpb=5ec721dcfc26f09d7f95d16c07eb54147919993f;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 8e9904e7..5c3298f8 100644 --- a/src/editor.c +++ b/src/editor.c @@ -1517,7 +1517,7 @@ static struct { -1, ED_COUNTER_YPOS(6) - MINI_TILEY, GADGET_ID_GRAVITY, GADGET_ID_DOUBLE_SPEED, - &level.gravity, + &level.initial_gravity, " ", "gravity", "set level gravity" }, { @@ -5412,6 +5412,15 @@ static void DrawPropertiesInfo() int screen_line = 0; int i, x, y; +#if DEBUG + if (IS_CUSTOM_ELEMENT(properties_element)) + { + DrawTextF(pad_x, pad_y + screen_line++ * font2_height, FONT_TEXT_3, + "[Custom Element %d]", properties_element - EL_CUSTOM_START + 1); + screen_line++; + } +#endif + /* ----- print number of elements / percentage of this element in level */ num_elements_in_level = 0;