--- deliantra/server/common/init.C 2007/03/06 03:06:00 1.25 +++ deliantra/server/common/init.C 2007/03/06 19:02:35 1.27 @@ -82,7 +82,6 @@ BALANCED_STAT_LOSS, NOT_PERMADETH, SIMPLE_EXP, - RESET_LOCATION_TIME, SET_TITLE, RESURRECTION, SEARCH_ITEMS, @@ -200,12 +199,10 @@ settings.tmpdir = cp; } - /* * Initialises all global variables. * Might use environment-variables as default for some of them. */ - void init_globals (void) { @@ -252,7 +249,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 +269,6 @@ * initialises the gametime and TOD counters * Called by init_library(). */ - void init_clocks (void) { @@ -295,6 +290,7 @@ write_todclock (); return; } + fscanf (fp, "%lu", &todtick); LOG (llevDebug, "todtick=%lu\n", todtick); fclose (fp);