--- deliantra/server/common/init.C 2007/03/06 03:06:00 1.25 +++ deliantra/server/common/init.C 2007/03/14 00:04:58 1.29 @@ -82,7 +82,6 @@ BALANCED_STAT_LOSS, NOT_PERMADETH, SIMPLE_EXP, - RESET_LOCATION_TIME, SET_TITLE, RESURRECTION, SEARCH_ITEMS, @@ -151,8 +150,6 @@ { init_globals (); init_block (); - ReadBmapNames (); - ReadSmooth (); init_anim (); /* Must be after we read in the bitmaps */ init_archetypes (); /* Reads all archetypes from file */ init_dynamic (); @@ -200,12 +197,10 @@ settings.tmpdir = cp; } - /* * Initialises all global variables. * Might use environment-variables as default for some of them. */ - void init_globals (void) { @@ -252,7 +247,6 @@ * Write out the current time to the file so time does not * reset every time the server reboots. */ - void write_todclock (void) { @@ -273,7 +267,6 @@ * initialises the gametime and TOD counters * Called by init_library(). */ - void init_clocks (void) { @@ -295,6 +288,7 @@ write_todclock (); return; } + fscanf (fp, "%lu", &todtick); LOG (llevDebug, "todtick=%lu\n", todtick); fclose (fp);