ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/init.C
(Generate patch)

Comparing deliantra/server/common/init.C (file contents):
Revision 1.38 by root, Sun Jul 1 05:00:17 2007 UTC vs.
Revision 1.39 by root, Mon Jul 16 09:07:12 2007 UTC

217} 217}
218 218
219void 219void
220init_dynamic (void) 220init_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().

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines