mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-17 23:17:39 +00:00
refactored to use isDie if applicable
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user