Advertisement
kemonologic

ds_list_unmark_as_map

Dec 1st, 2019
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// @func ds_list_unmark_as_map
  2. /// @arg {list} list
  3. /// @arg {real} pos
  4. /// @desc Unmarks specified position in list
  5. /// @desc It's your job to keep a reference to whatever's unmarked and delete it yourself!
  6.  
  7. var _list = argument[0];
  8. var _pos = argument[1];
  9. _list[| _pos] = _list[| _pos];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement