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:
@@ -1981,7 +1981,7 @@ mkinvpos(xchar x, xchar y, int dist)
|
||||
seemimic(mon);
|
||||
|
||||
if ((ttmp = t_at(x, y)) != 0)
|
||||
(void) mintrap(mon);
|
||||
(void) mintrap(mon, NO_TRAP_FLAGS);
|
||||
else
|
||||
(void) minliquid(mon);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user