--- deliantra/server/common/arch.C 2007/02/16 19:43:40 1.43 +++ deliantra/server/common/arch.C 2007/04/13 07:26:29 1.45 @@ -375,8 +375,6 @@ return 0; } - assert (("pippijn sagt es gibt keine tiles mehr", head->clone.face == more->clone.face)); - if (more->clone.x > head->tail_x) head->tail_x = more->clone.x; if (more->clone.y > head->tail_y) head->tail_y = more->clone.y; @@ -478,25 +476,12 @@ } } -#ifdef DEBUG -void -check_generators (void) -{ - archetype *at; - - for (at = first_archetype; at != NULL; at = at->next) - if (QUERY_FLAG (&at->clone, FLAG_GENERATOR) && at->clone.other_arch == NULL) - LOG (llevError, "Warning: %s is generator but lacks other_arch.\n", &at->name); -} -#endif - /* * First initialises the archtype hash-table (init_archetable()). * Reads and parses the archetype file (with the first and second-pass * functions). * Then initialises treasures by calling load_treasures(). */ - void load_archetypes (void) { @@ -528,9 +513,6 @@ LOG (llevDebug, " arch-pass 2...\n"); second_arch_pass (f); LOG (llevDebug, " done\n"); -#ifdef DEBUG - check_generators (); -#endif } LOG (llevDebug, " done\n"); }