Skip to content

Commit

Permalink
Inherit energy modifiers in derived undead (Lasty).
Browse files Browse the repository at this point in the history
  • Loading branch information
wheals committed Sep 2, 2015
1 parent 75d4604 commit cb87171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawl-ref/source/mon-util.cc
Expand Up @@ -3070,7 +3070,7 @@ mon_energy_usage mons_class_energy(monster_type mc)

mon_energy_usage mons_energy(const monster* mon)
{
mon_energy_usage meu = mons_class_energy(mon->type);
mon_energy_usage meu = mons_class_energy(mons_base_type(mon));
if (mon->ghost.get())
meu.move = meu.swim = mon->ghost->move_energy;
return meu;
Expand Down

0 comments on commit cb87171

Please sign in to comment.