X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=6c51c6dc2bd19cce1551190cd9f68cbe8dc367a8;hb=24134e1e4ef7e3d582ac4827eb8740261bf5d1b6;hp=07043c5e727157bca5ed92446c3dcb637f788298;hpb=ecf508e3d4590f48a92f6b37114a0590a08acb2b;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 07043c5e..6c51c6dc 100644 --- a/src/editor.c +++ b/src/editor.c @@ -6358,8 +6358,12 @@ static void copy_custom_element_settings(int element_from, int element_to) ei_to->description[i] = ei_from->description[i]; /* ---------- copy element base properties ---------- */ +#if 1 + ei_to->properties[EP_BITFIELD_BASE] = ei_from->properties[EP_BITFIELD_BASE]; +#else Properties[element_to][EP_BITFIELD_BASE] = Properties[element_from][EP_BITFIELD_BASE]; +#endif /* ---------- copy custom property values ---------- */