X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=e9168f566086b132493234ae311442f30924b895;hb=c0f3e2e3c8f0c8b88fca68375d0b942bda8ffcbf;hp=2a7a8e4e19e7662046cb069eedf580093b3a8d4e;hpb=7758484aa10294db3689a7eacc9c4b64132d5d6e;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 2a7a8e4e..e9168f56 100644 --- a/src/editor.c +++ b/src/editor.c @@ -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();