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:
parent
ccc1e9ac92
commit
d56df740d5
1 changed files with 3 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue