From: copperwater Date: Sat, 28 May 2022 01:25:18 +0000 (-0400) Subject: Use looted rather than doormask when it pertains to a throne X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e19d6628ab152bfbd8f9d5b606e68e196348d12;p=nethack Use looted rather than doormask when it pertains to a throne They're both just aliases for rm.flags, but "doormask" doesn't mean anything conceptual for a throne. --- diff --git a/src/dokick.c b/src/dokick.c index 3c2a0c348..d6afaff42 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -1096,9 +1096,9 @@ dokick(void) kick_dumb(x, y); return ECMD_TIME; } - if ((Luck < 0 || g.maploc->doormask) && !rn2(3)) { + if ((Luck < 0 || g.maploc->looted) && !rn2(3)) { + g.maploc->looted = 0; /* don't leave loose ends.. */ g.maploc->typ = ROOM; - g.maploc->doormask = 0; /* don't leave loose ends.. */ (void) mkgold((long) rnd(200), x, y); if (Blind) pline("CRASH! You destroy it.");