1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-28 16:32:27 +01:00

Two more starlight fixes

This commit is contained in:
NeroOneTrueKing 2022-09-12 22:14:52 -05:00
parent 75ff7b4ea4
commit d2305c74b9
2 changed files with 5 additions and 5 deletions

View file

@ -2491,7 +2491,7 @@ bury_an_obj(otmp)
if (otmp->otyp == LEASH && otmp->leashmon != 0)
o_unleash(otmp);
if (otmp->lamplit && otmp->otyp != POT_OIL)
if (obj_is_burning(otmp) && otmp->otyp != POT_OIL)
end_burn(otmp, TRUE);
obj_extract_self(otmp);

View file

@ -5353,7 +5353,7 @@ register struct monst *mdef;
if (flooreffects(obj, x, y, "fall")) continue;
place_object(obj, x, y);
} else {
if (obj->lamplit) end_burn(obj, TRUE);
if (obj_is_burning(obj)) end_burn(obj, TRUE);
obj->nobj = oldminvent;
oldminvent = obj;
}
@ -5411,7 +5411,7 @@ register struct monst *mdef;
if (flooreffects(obj, x, y, "fall")) continue;
place_object(obj, x, y);
} else {
if (obj->lamplit) end_burn(obj, TRUE);
if (obj_is_burning(obj)) end_burn(obj, TRUE);
obj->nobj = oldminvent;
oldminvent = obj;
}
@ -5489,7 +5489,7 @@ register struct monst *mdef;
if (flooreffects(obj, x, y, "fall")) continue;
place_object(obj, x, y);
} else {
if (obj->lamplit) end_burn(obj, TRUE);
if (obj_is_burning(obj)) end_burn(obj, TRUE);
obj->nobj = oldminvent;
oldminvent = obj;
}
@ -5546,7 +5546,7 @@ register struct monst *mdef;
if (flooreffects(obj, x, y, "fall")) continue;
place_object(obj, x, y);
} else {
if (obj->lamplit) end_burn(obj, TRUE);
if (obj_is_burning(obj)) end_burn(obj, TRUE);
obj->nobj = oldminvent;
oldminvent = obj;
}