--- deliantra/server/common/init.C 2007/03/06 03:06:00 1.25 +++ deliantra/server/common/init.C 2007/03/06 14:01:10 1.26 @@ -200,12 +200,10 @@ settings.tmpdir = cp; } - /* * Initialises all global variables. * Might use environment-variables as default for some of them. */ - void init_globals (void) { @@ -252,7 +250,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 +270,6 @@ * initialises the gametime and TOD counters * Called by init_library(). */ - void init_clocks (void) { @@ -295,6 +291,7 @@ write_todclock (); return; } + fscanf (fp, "%lu", &todtick); LOG (llevDebug, "todtick=%lu\n", todtick); fclose (fp);