… | … | ||
---|---|---|---|
2351 | { | 2351 | { |
2352 | int dx, dy; | 2352 | int dx, dy; |
2353 | 2353 | ||
2354 | return adjacent_map (op1->map, op2->map, &dx, &dy); | 2354 | return adjacent_map (op1->map, op2->map, &dx, &dy); |
2355 | } | 2355 | } |
2356 | |||
2357 | object * | ||
2358 | maptile::insert (object *op, int x, int y, object *originator, int flags) | ||
2359 | { | ||
2360 | if (!op->flag [FLAG_REMOVED]) | ||
2361 | op->remove (); | ||
2362 | |||
2363 | return insert_ob_in_map_at (op, this, originator, flags, x, y); | ||
2364 | } | ||
2365 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |