… | |
… | |
36 | objectlink *ol; |
36 | objectlink *ol; |
37 | |
37 | |
38 | /* Add some error checking. This shouldn't happen, but the friendly |
38 | /* Add some error checking. This shouldn't happen, but the friendly |
39 | * object list usually isn't very long, and remove_friendly_object |
39 | * object list usually isn't very long, and remove_friendly_object |
40 | * won't remove it either. Plus, it is easier to put a breakpoint in |
40 | * won't remove it either. Plus, it is easier to put a breakpoint in |
41 | * the debugger here and see where the problem is happening. |
41 | * the debugger here and see where the problem is happening. |
42 | */ |
42 | */ |
43 | for (ol = first_friendly_object; ol; ol = ol->next) |
43 | for (ol = first_friendly_object; ol; ol = ol->next) |
44 | { |
44 | { |
45 | if (ol->ob == op) |
45 | if (ol->ob == op) |
46 | { |
46 | { |