1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 01:37:57 +00:00

refactored to use isDie if applicable

This commit is contained in:
Zeno Rogue
2021-05-30 13:48:24 +02:00
parent b63a70f279
commit be5194958e
8 changed files with 9 additions and 9 deletions

View File

@@ -379,7 +379,7 @@ EX void pushThumper(const movei& mi) {
cto->wall = waCrateOnTarget;
th->wall = waCrateTarget;
}
else if(among(w, waRichDie, waHappyDie)) {
else if(isDie(w)) {
th->wall = waNone;
cto->wall = w;
dice::roll(mi);