--- deliantra/server/common/loader.C 2006/09/04 15:51:24 1.4 +++ deliantra/server/common/loader.C 2006/09/04 16:46:32 1.5 @@ -557,7 +557,20 @@ parse_object (tmp, thawer, map_flags); if (tmp->arch) - insert_ob_in_ob (tmp, op); + { + // was: insert_ob_in_ob (tmp, op); + // but manually addint it can improve map loading times a lot + tmp->env = op; + + if (!op->inv) + op->inv = tmp; + else + { + tmp->below = op->inv; + tmp->below->above = tmp; + op->inv = tmp; + } + } else { LOG (llevDebug, "Discarding object without arch: %s\n",