/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* enab.c: Enable the updates (deity)
- *
+ *
* Known contributors to this file:
- *
+ * Markus Armbruster, 2007
*/
#include <config.h>
-#if !defined(_WIN32)
-#include <unistd.h>
-#elif defined(__GNUC__)
-#include <io.h>
-#endif
#include "commands.h"
-#include "optlist.h"
+#include "game.h"
int
enab(void)
{
- (void)unlink(disablefil);
+ game_ctrl_update(1);
pr("Updates are enabled\n");
return RET_OK;
}