candelabrum weight and burn out
Adjust the Candelabrum of Invocation's weight when it has candles attached. This has been a known issue ever since the candelabrum and candles were introduced. When the candelabrum burns out, update persistent inventory window to show that it no longer has candles.
This commit is contained in:
@@ -1224,6 +1224,9 @@ struct obj **optr;
|
||||
end_burn(obj, TRUE);
|
||||
/* candles are now gone */
|
||||
useupall(obj);
|
||||
/* candelabrum's weight is changing */
|
||||
otmp->owt = weight(otmp);
|
||||
update_inventory();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user