--- deliantra/server/common/arch.C 2007/04/16 15:41:26 1.51 +++ deliantra/server/common/arch.C 2007/04/17 10:06:32 1.52 @@ -326,6 +326,8 @@ typedef std::pair part; std::vector parts; + coroapi::cede_to_tick_every (100); + for (;;) { archetype *at = get (f.get_str ()); @@ -460,9 +462,6 @@ f.next (); - // make sure the next - long - step is only done after a tick - coroapi::wait_for_tick_begin (); - if (!load_archetypes (f)) return false; @@ -472,8 +471,6 @@ if (!empty_archetype) return false; - coroapi::cede (); - return true; }