X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=e9168f566086b132493234ae311442f30924b895;hb=9eff630555d9f481889fa2f807af76daaa2e70cb;hp=6ec3cd8f53d473e8e17c423275fbf8f7044828c7;hpb=90c3a49422dd88de77ffc7b8dd1d4f1d73d0d9a3;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 6ec3cd8f..e9168f56 100644 --- a/src/editor.c +++ b/src/editor.c @@ -4144,15 +4144,15 @@ static int editor_el_reference[] = EL_CURRENT_CE_VALUE, EL_CURRENT_CE_SCORE, - EL_LAST_CE_8, - EL_LAST_CE_7, - EL_LAST_CE_6, - EL_LAST_CE_5, + EL_PREV_CE_8, + EL_PREV_CE_7, + EL_PREV_CE_6, + EL_PREV_CE_5, - EL_LAST_CE_4, - EL_LAST_CE_3, - EL_LAST_CE_2, - EL_LAST_CE_1, + EL_PREV_CE_4, + EL_PREV_CE_3, + EL_PREV_CE_2, + EL_PREV_CE_1, EL_NEXT_CE_1, EL_NEXT_CE_2, @@ -6761,7 +6761,11 @@ void DrawLevelEd() ReinitializeElementList(); /* update dynamic level element list */ ReinitializeElementListButtons(); /* custom element may look different */ +#if 1 + UnmapAllGadgets(); +#else UnmapTapeButtons(); +#endif MapControlButtons(); DrawEditModeWindow();