mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-18 17:10:20 +00:00
fixed invalid error messages on Animated Dice validity tests
This commit is contained in:
@@ -1118,6 +1118,10 @@ EX namespace dice {
|
||||
dd.dir = dir1;
|
||||
return dd;
|
||||
}
|
||||
|
||||
EX bool on(cell *c) {
|
||||
return among(c->wall, waRichDie, waHappyDie) || among(c->monst, moAnimatedDie, moAngryDie);
|
||||
}
|
||||
|
||||
EX void roll(movei mi) {
|
||||
auto &cto = mi.t;
|
||||
|
||||
Reference in New Issue
Block a user