From 0e761836ca66a06157d54aaf9056ecb2faa4926c Mon Sep 17 00:00:00 2001 From: PatR Date: Mon, 23 Jan 2023 23:45:19 -0800 Subject: [PATCH] fix misplaced parenthesis in end.c --- src/end.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/end.c b/src/end.c index 6d1bed706..529b4e18d 100644 --- a/src/end.c +++ b/src/end.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 end.c $NHDT-Date: 1646322468 2022/03/03 15:47:48 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.240 $ */ +/* NetHack 3.7 end.c $NHDT-Date: 1674546299 2023/01/24 07:44:59 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.265 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Robert Patrick Rankin, 2012. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1436,7 +1436,7 @@ really_done(int how) Sprintf(pbuf, "%s, ", gp.plname); formatkiller(eos(pbuf), sizeof pbuf - Strlen(pbuf), how, TRUE); make_grave(u.ux, u.uy, pbuf); - if (IS_GRAVE(levl[u.ux][u.uy].typ && !was_already_grave)) + if (IS_GRAVE(levl[u.ux][u.uy].typ) && !was_already_grave) levl[u.ux][u.uy].emptygrave = 1; /* corpse isn't buried */ } pbuf[0] = '\0'; /* clear grave text; also lint suppression */