… | |
… | |
241 | altern = other_teleporter; |
241 | altern = other_teleporter; |
242 | } |
242 | } |
243 | |
243 | |
244 | if (!nrofalt) |
244 | if (!nrofalt) |
245 | { |
245 | { |
246 | LOG (llevError, "No alternative teleporters around!\n"); |
246 | LOG (llevError, "%s: no alternative teleporters around (user %s).\n", |
|
|
247 | teleporter->debug_desc (), user->debug_desc ()); |
247 | return 0; |
248 | return 0; |
248 | } |
249 | } |
249 | |
250 | |
250 | other_teleporter = altern; |
251 | other_teleporter = altern; |
251 | k = find_free_spot (user, other_teleporter->map, other_teleporter->x, other_teleporter->y, 1, 9); |
252 | k = find_free_spot (user, other_teleporter->map, other_teleporter->x, other_teleporter->y, 1, 9); |