refactored to use isDie if applicable

This commit is contained in:
Zeno Rogue
2021-06-01 13:07:56 +02:00
parent b63a70f279
commit be5194958e
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1120,7 +1120,7 @@ EX namespace dice {
}
EX bool on(cell *c) {
return among(c->wall, waRichDie, waHappyDie) || among(c->monst, moAnimatedDie, moAngryDie);
return isDie(c->wall) || isDie(c->monst);
}
EX void roll(movei mi) {