… | |
… | |
2433 | #if 0 //TODO |
2433 | #if 0 //TODO |
2434 | if (!has_been_loaded (EXIT_PATH (exit)) && exit->race) |
2434 | if (!has_been_loaded (EXIT_PATH (exit)) && exit->race) |
2435 | return 0; /* This is a reset town portal */ |
2435 | return 0; /* This is a reset town portal */ |
2436 | #endif |
2436 | #endif |
2437 | |
2437 | |
2438 | maptile *exitmap = exit->map->find_map (EXIT_PATH (exit)); |
2438 | maptile *exitmap = maptile::load_map_sync (EXIT_PATH (exit), exit->map); |
2439 | |
2439 | |
2440 | object *tmp; |
2440 | object *tmp; |
2441 | object *exit_owner; |
2441 | object *exit_owner; |
2442 | |
2442 | |
2443 | if (exitmap) |
2443 | if (exitmap) |