fix out of date safe_teleds() calls

When safe_teleds() was changed to take an int flags argument instead
of a boolean, some calls weren't updated.
This commit is contained in:
PatR
2023-05-11 12:12:12 -07:00
parent 56f0340f0c
commit 7737fcc97c
3 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
/* NetHack 3.7 region.c $NHDT-Date: 1596498203 2020/08/03 23:43:23 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.65 $ */
/* NetHack 3.7 region.c $NHDT-Date: 1683832331 2023/05/11 19:12:11 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.81 $ */
/* Copyright (c) 1996 by Jean-Christophe Collet */
/* NetHack may be freely redistributed. See license for details. */
@@ -1229,7 +1229,7 @@ region_safety(void)
if (n > 1 || (n == 1 && !r)) {
/* multiple overlapping cloud regions or non-expiring one */
safe_teleds(FALSE);
safe_teleds(TELEDS_NO_FLAGS);
} else if (r) {
remove_region(r);
pline_The("gas cloud enveloping you dissipates.");