--- deliantra/server/common/init.C 2006/09/03 07:57:54 1.4 +++ 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.4 2006/09/03 07:57:54 root Exp $"; + * "$Id: init.C,v 1.6 2006/09/07 09:37:11 pippijn Exp $"; */ /* @@ -268,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