X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.c;h=fd1dfbdaf5245a44ad4350c137d20b84918554fd;hp=54bf0c0095212ea7e426e90dce53b73d09cca067;hb=27ffbe2b057d39a86c905d95acea54056690bb20;hpb=d0893bbe2c52d482fd5dab425d46373ac969c479 diff --git a/src/editor.c b/src/editor.c index 54bf0c00..fd1dfbda 100644 --- a/src/editor.c +++ b/src/editor.c @@ -7531,7 +7531,7 @@ static void CopyElementPropertiesToEditor(int element) static boolean AskToCopyAndModifyLevelTemplate() { - if (Request("Copy and modify level template?", REQ_ASK)) + if (Request("Copy and modify settings from level template?", REQ_ASK)) { level.use_custom_template = FALSE; @@ -11586,6 +11586,12 @@ static void HandleCheckbuttons(struct GadgetInfo *gi) return; } + if (!level.use_custom_template && + Request("Copy settings from level template?", REQ_ASK)) + { + return; + } + LoadLevelTemplate(level.use_custom_template ? -1 : level_nr); DrawEditModeWindow();