/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
if (CANT_HAPPEN(!update_pending))
update_pending = 1;
+ logerror("production update (%d etus)", etu);
+ journal_update(etu);
+
/* First, make sure all mobility is updated correctly. */
if (opt_MOB_ACCESS) {
mob_ship(etu);
player->proc = empth_self();
player->cnum = 0;
player->god = 1;
+
+ if (opt_AUTO_POWER)
+ update_power();
+
/*
* set up all the variables which get used in the
* sector production routine (for producing education,
* happiness, and printing out the state of the nation)
*/
- logerror("production update (%d etus)", etu);
- journal_update(etu);
memset(pops, 0, sizeof(pops));
memset(air_money, 0, sizeof(air_money));
memset(sea_money, 0, sizeof(sea_money));