… | |
… | |
217 | } |
217 | } |
218 | |
218 | |
219 | void |
219 | void |
220 | init_dynamic (void) |
220 | init_dynamic (void) |
221 | { |
221 | { |
222 | for_all_archetypes (at) |
222 | first_map_ext_path = "/start/HallsOfSelection"; |
223 | { |
223 | first_map_path = "/HallOfSelection"; |
224 | if (at->type == MAP) |
|
|
225 | { |
|
|
226 | if (at->race) |
|
|
227 | first_map_ext_path = at->race; |
|
|
228 | |
|
|
229 | if (EXIT_PATH (at)) |
|
|
230 | { |
|
|
231 | first_map_path = EXIT_PATH (at); |
|
|
232 | return; |
|
|
233 | } |
|
|
234 | } |
|
|
235 | } |
|
|
236 | |
|
|
237 | LOG (llevDebug, "You need an archetype of type 'map' and it has to contain the player start map\n"); |
|
|
238 | exit (-1); |
|
|
239 | } |
224 | } |
240 | |
225 | |
241 | /* |
226 | /* |
242 | * initialises the attack messages. |
227 | * initialises the attack messages. |
243 | * Called by init_library(). |
228 | * Called by init_library(). |