Use is_pit macro to check for (spiked) pit
This commit is contained in:
@@ -744,7 +744,7 @@ int x, y;
|
||||
dotrap(ttmp, 0); /* doesn't print messages */
|
||||
} else if (ttmp->ttyp == FIRE_TRAP) {
|
||||
dotrap(ttmp, 0);
|
||||
} else if ((ttmp->ttyp == PIT || ttmp->ttyp == SPIKED_PIT
|
||||
} else if ((is_pit(ttmp->ttyp)
|
||||
|| ttmp->ttyp == HOLE || ttmp->ttyp == TRAPDOOR)
|
||||
&& Sokoban) {
|
||||
/* air currents overcome the recoil in Sokoban;
|
||||
|
||||
Reference in New Issue
Block a user