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:
parent
75ff7b4ea4
commit
d2305c74b9
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue