update: Eliminate produce_sect()'s getnatp()

Make callers pass struct natstr * instead of a country number.  All
callers have it already.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-06-03 20:24:04 +02:00
parent 60450f1637
commit 991b59183d
4 changed files with 7 additions and 10 deletions

View file

@ -30,7 +30,7 @@
* Thomas Ruschak, 1992
* Ville Virrankoski, 1995
* Steve McClure, 1997-2000
* Markus Armbruster, 2004-2013
* Markus Armbruster, 2004-2016
*/
#include <config.h>
@ -229,7 +229,7 @@ calc_all(int p_sect[][2],
*lmaint = lnd_money[player->cnum];
/* Produce */
produce_sect(player->cnum, etu, bp, p_sect);
produce_sect(np, etu, bp, p_sect);
/* Build ships */
sea_money[player->cnum] = 0;