1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-28 08:22:24 +01:00

And for player too

This commit is contained in:
NeroOneTrueKing 2020-10-07 15:52:27 -05:00
parent ccc1e9ac92
commit d56df740d5

View file

@ -8266,11 +8266,9 @@ int vis;
swallowed(1);
/* snuff player's carried lightsources */
for (otmp = invent; otmp; otmp = otmp->nobj) {
if (!is_whirly(u.ustuck->data)
|| (otmp->otyp != TORCH && otmp->otyp != SHADOWLANDER_S_TORCH && otmp->otyp != SUNROD))
(void)snuff_lit(otmp);
}
if (!is_whirly(u.ustuck->data))
for (otmp = invent; otmp; otmp = otmp->nobj)
(void)snuff_lit(otmp);
}
/* player should be swallowed now */
if (magr != u.ustuck)