From 01a6e4e1d11e3cd72e4d08a39a878c1af32302a9 Mon Sep 17 00:00:00 2001 From: PatR Date: Thu, 26 Sep 2024 22:19:17 -0700 Subject: [PATCH] breathless vs breathless() Avoid having a variable with the same name as a function-like macro in case the latter eventually gets turned into an actual function. --- src/timeout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/timeout.c b/src/timeout.c index cf600f6a1..13ebb0d4e 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -550,15 +550,15 @@ static NEARDATA const char *const region_texts[] = { staticfn void region_dialogue(void) { - boolean breathless, in_poison_gas_cloud; + boolean no_need_to_breathe, in_poison_gas_cloud; long r = (HMagical_breathing & TIMEOUT), i = r / 2L; /* might have poly'd into non-breather or moved out of gas cloud */ HMagical_breathing &= ~TIMEOUT; - breathless = breathless(&mons[u.umonnum]); + no_need_to_breathe = Breathless; in_poison_gas_cloud = region_danger(); HMagical_breathing |= r; - if (breathless || !in_poison_gas_cloud) + if (no_need_to_breathe || !in_poison_gas_cloud) return; if ((r % 2L) && i > 0L && i <= SIZE(region_texts))