Rev. 1.26 screwed up return value for building, which was visible in
output of budget. Reported by Stefan Hauser.
This commit is contained in:
parent
ba578e0e23
commit
0e14911d72
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ prod_plane(int etus, int natnum, int *bp, int buildem)
|
|||
start_money = np->nat_money;
|
||||
upd_plane(pp, etus, np, bp, buildem);
|
||||
air_money[pp->pln_own] += np->nat_money - start_money;
|
||||
if (buildem == 0)
|
||||
if (buildem == 0 || np->nat_money != start_money)
|
||||
k++;
|
||||
if (player->simulation)
|
||||
np->nat_money = start_money;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue