#include <time.h> /* time() */
#include <unistd.h> /* optarg, getopt(), access(), unlink(), getpid() */
#include "../common/readwrite.h" /* try_fopen(), try_fclose(), textfile_width(),
- * try_fgets(), try_fwrite()
+ * try_fgets(), try_fwrite(),
+ * detect_atomic_leftover()
*/
#include "../common/rexit.h" /* exit_err(), exit_trouble() */
#include "../common/try_malloc.h" /* try_malloc() */
world.log = NULL; /* thing_actions.c's update_log() checks for this. */
world.seed_map = world.seed;
free_things(world.things);
- world.last_update_turn = 0;
+ world.do_update = 1;
remake_map();
struct ThingType * tt;
for (tt = world.thing_types; NULL != tt; tt = tt->next)
extern void run_game()
{
char * f_name = "run_game()";
+ detect_atomic_leftover(s[S_PATH_SAVE]);
+ detect_atomic_leftover(s[S_PATH_RECORD]);
if (world.replay)
{
replay_game();