--- deliantra/server/common/init.C 2006/08/29 08:01:35 1.2 +++ deliantra/server/common/init.C 2006/09/07 09:37:11 1.6 @@ -1,6 +1,6 @@ /* * static char *rcsid_init_c = - * "$Id: init.C,v 1.2 2006/08/29 08:01:35 root Exp $"; + * "$Id: init.C,v 1.6 2006/09/07 09:37:11 pippijn Exp $"; */ /* @@ -181,7 +181,6 @@ void init_library(void) { init_environ(); init_globals(); - init_hash_table(); init_objects(); init_vars(); init_block(); @@ -257,10 +256,8 @@ ring_arch = NULL; amulet_arch = NULL; staff_arch = NULL; - undead_name = add_string("undead"); trying_emergency_save = 0; num_animations=0; - animations=NULL; animations_allocated=0; init_defaults(); } @@ -271,31 +268,12 @@ * Called by init_library(); */ -void init_objects(void) { - int i; -/* Initialize all objects: */ - objects=NULL; +void +init_objects(void) +{ + /* Initialize all objects: */ + objects = NULL; active_objects = NULL; - -#ifdef MEMORY_DEBUG - free_objects=NULL; -#else - free_objects=objarray; - objarray[0].prev=NULL, - objarray[0].next= &objarray[1], - SET_FLAG(&objarray[0], FLAG_REMOVED); - SET_FLAG(&objarray[0], FLAG_FREED); - for(i=1;i