/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* main.c: World update main function
- *
+ *
* Known contributors to this file:
* Dave Pare, 1994
* Steve McClure, 1996
#include "journal.h"
#include "player.h"
#include "server.h"
+#include "unit.h"
#include "update.h"
long money[MAXNOC];
prod_nat(etu);
age_levels(etu);
free(bp);
- /*flushwu(); */
if (opt_SLOW_WAR) {
/* Update war declarations */
/* MOBILIZATION->SITZKRIEG->AT_WAR */
ef_flush(EF_SHIP);
ef_flush(EF_PLANE);
ef_flush(EF_LAND);
+ unit_cargo_init();
delete_old_announcements();
delete_old_news();
+ delete_old_lostitems();
/* Clear all the telegram flags */
for (cn = 0; cn < MAXNOC; cn++)
clear_telegram_is_new(cn);