summoning bats in the Dungeon activates plates now, since they are stunned

This commit is contained in:
Zeno Rogue 2017-09-03 00:56:39 +02:00
parent 7a6ed68653
commit 606bcf23bd
1 changed files with 2 additions and 0 deletions

View File

@ -760,6 +760,8 @@ void summonAt(cell *dest) {
tortoise::emap[dest] = dest;
addMessage(XLAT("You summon %the1!", dest->monst));
moveEffect(dest, dest, dest->monst);
if(dest->wall == waClosePlate || dest->wall == waOpenPlate)
toggleGates(dest, dest->wall);
if(hasHitpoints(dest->monst))
dest->hitpoints = palaceHP();