From 8e19d6628ab152bfbd8f9d5b606e68e196348d12 Mon Sep 17 00:00:00 2001 From: copperwater Date: Fri, 27 May 2022 21:25:18 -0400 Subject: [PATCH] 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. --- src/dokick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.");