… | |
… | |
901 | * This function removes the object op from the linked list of objects |
901 | * This function removes the object op from the linked list of objects |
902 | * which it is currently tied to. When this function is done, the |
902 | * which it is currently tied to. When this function is done, the |
903 | * object will have no environment. If the object previously had an |
903 | * object will have no environment. If the object previously had an |
904 | * environment, the x and y coordinates will be updated to |
904 | * environment, the x and y coordinates will be updated to |
905 | * the previous environment. |
905 | * the previous environment. |
906 | * Beware: This function is called from the editor as well! |
|
|
907 | */ |
906 | */ |
908 | void |
907 | void |
909 | object::remove_slow () |
908 | object::remove_slow () |
910 | { |
909 | { |
911 | object *tmp, *last = 0; |
910 | object *tmp, *last = 0; |