mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Added get_tile_fid and macros to function notes
Some misc edits to documents.
This commit is contained in:
@@ -51,10 +51,9 @@ procedure remove_items_pid(variable invenObj, variable itemPid, variable quantit
|
||||
variable begin
|
||||
item;
|
||||
toRemoveQty;
|
||||
numRemoved;
|
||||
end
|
||||
if (not(invenObj)) then return;
|
||||
toRemoveQty := obj_is_carrying_obj_pid(invenObj,itemPid);
|
||||
toRemoveQty := obj_is_carrying_obj_pid(invenObj, itemPid);
|
||||
if (quantity < toRemoveQty and quantity != -1) then begin
|
||||
toRemoveQty := quantity;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user