Get rid of force_mintrap, allow passing flags to mintrap
It uses the same flags as dotrap, so simulate force_mintrap by passing FORCETRAP flag.
This commit is contained in:
@@ -634,7 +634,7 @@ digactualhole(int x, int y, struct monst *madeby, int ttyp)
|
||||
pline("%s %s over the pit.", Monnam(mtmp),
|
||||
(is_flyer(mtmp->data)) ? "flies" : "floats");
|
||||
} else if (mtmp != madeby)
|
||||
(void) mintrap(mtmp);
|
||||
(void) mintrap(mtmp, NO_TRAP_FLAGS);
|
||||
}
|
||||
} else { /* was TRAPDOOR now a HOLE*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user