… | |
… | |
106 | |
106 | |
107 | int |
107 | int |
108 | transfer_ob (object *op, int x, int y, int randomly, object *originator) |
108 | transfer_ob (object *op, int x, int y, int randomly, object *originator) |
109 | { |
109 | { |
110 | int i; |
110 | int i; |
111 | object *tmp; |
|
|
112 | |
111 | |
113 | if (randomly) |
112 | if (randomly) |
114 | i = find_free_spot (op, op->map, x, y, 0, SIZEOFFREE); |
113 | i = find_free_spot (op, op->map, x, y, 0, SIZEOFFREE); |
115 | else |
114 | else |
116 | i = find_first_free_spot (op, op->map, x, y); |
115 | i = find_first_free_spot (op, op->map, x, y); |