… | |
… | |
56 | tmp = tmp->above; |
56 | tmp = tmp->above; |
57 | else |
57 | else |
58 | { |
58 | { |
59 | object *head = tmp->head_ (); |
59 | object *head = tmp->head_ (); |
60 | tmp = tmp->above; |
60 | tmp = tmp->above; |
61 | head->destroy (true); |
61 | head->destroy (); |
62 | } |
62 | } |
63 | } |
63 | } |
64 | } |
64 | } |
65 | |
65 | |
66 | /* copy in_map into dest_map at point x,y */ |
66 | /* copy in_map into dest_map at point x,y */ |
… | |
… | |
167 | tries++; |
167 | tries++; |
168 | } |
168 | } |
169 | |
169 | |
170 | if (i == -1) |
170 | if (i == -1) |
171 | { /* can't place fountain */ |
171 | { /* can't place fountain */ |
172 | fountain->destroy (true); |
172 | fountain->destroy (); |
173 | potion->destroy (true); |
173 | potion->destroy (); |
174 | return; |
174 | return; |
175 | } |
175 | } |
176 | |
176 | |
177 | ix += freearr_x[i]; |
177 | ix += freearr_x[i]; |
178 | iy += freearr_y[i]; |
178 | iy += freearr_y[i]; |