Use is_pit macro to check for (spiked) pit
This commit is contained in:
@@ -1744,7 +1744,7 @@ struct attack *mattk;
|
||||
|
||||
if (!engulf_target(mtmp, &youmonst))
|
||||
return 0;
|
||||
if ((t && ((t->ttyp == PIT) || (t->ttyp == SPIKED_PIT)))
|
||||
if ((t && is_pit(t->ttyp))
|
||||
&& sobj_at(BOULDER, u.ux, u.uy))
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user