(prod_land, prod_ship): Simplify.

This commit is contained in:
Markus Armbruster 2005-10-02 10:15:59 +00:00
parent c9dbe828bc
commit 745bdf7fd1
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ prod_ship(int etus, int natnum, int *bp, int build)
if (build && !player->simulation) /* make sure to only autonav once */
nav_ship(sp); /* autonav the ship */
sea_money[sp->shp_own] += np->nat_money - start_money;
if ((build && (np->nat_money != start_money)) || (!build))
if (!build || np->nat_money != start_money)
k++;
if (player->simulation)
np->nat_money = start_money;