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:
+1
-1
@@ -1288,7 +1288,7 @@ rloc_to_core(struct monst* mtmp,
|
||||
|
||||
/* trapped monster teleported away */
|
||||
if (mtmp->mtrapped && !mtmp->wormno)
|
||||
(void) mintrap(mtmp);
|
||||
(void) mintrap(mtmp, NO_TRAP_FLAGS);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user