projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with non-element images from dynamic configuration _not_ being scaled by...
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index 54bf0c0095212ea7e426e90dce53b73d09cca067..fd1dfbdaf5245a44ad4350c137d20b84918554fd 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-7531,7
+7531,7
@@
static void CopyElementPropertiesToEditor(int element)
static boolean AskToCopyAndModifyLevelTemplate()
{
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;
{
level.use_custom_template = FALSE;
@@
-11586,6
+11586,12
@@
static void HandleCheckbuttons(struct GadgetInfo *gi)
return;
}
return;
}
+ if (!level.use_custom_template &&
+ Request("Copy settings from level template?", REQ_ASK))
+ {
+ return;
+ }
+
LoadLevelTemplate(level.use_custom_template ? -1 : level_nr);
DrawEditModeWindow();
LoadLevelTemplate(level.use_custom_template ? -1 : level_nr);
DrawEditModeWindow();