diff options
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 826a8f3505..46653fda99 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -858,7 +858,9 @@ static bool jelly_divide(struct monsters * parent) child->behaviour = parent->behaviour; /* Look at this! */ child->foe = parent->foe; child->attitude = parent->attitude; - /* FIXME - hp: copy enchantments? */ + // duplicate enchantments + for ( int i = 0; i < NUM_MON_ENCHANTS; ++i ) + child->enchantment[i] = parent->enchantment[i]; child->x = parent->x + jex; child->y = parent->y + jey; |