diff options
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index a89f3c2c16..7126888288 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -5304,6 +5304,11 @@ mon_resist_type bolt::apply_enchantment_to_monster(monsters* mon) case BEAM_PORKALATOR: { + // Monster's which use the ghost structure can't be properly + // restored from hog form. + if (mons_is_ghost_demon(mon->type)) + return (MON_UNAFFECTED); + monster_type orig_type = mon->type; if (monster_polymorph(mon, (mon->holiness() == MH_DEMONIC ? MONS_HELL_HOG : MONS_HOG))) |