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.
This commit is contained in:
copperwater
2022-05-27 21:25:18 -04:00
parent 1a847d0314
commit 8e19d6628a

View File

@@ -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.");