Fix the previous revision.
This commit is contained in:
parent
eb1512d75f
commit
85c8d7bd82
3 changed files with 6 additions and 3 deletions
|
@ -134,7 +134,8 @@ upd_land(struct lndstr *lp, int etus,
|
|||
if (build == 1) {
|
||||
if (!lp->lnd_off && np->nat_money >= 0)
|
||||
landrepair(lp, np, bp, etus);
|
||||
lp->lnd_off = 0;
|
||||
if (!player->simulation)
|
||||
lp->lnd_off = 0;
|
||||
} else {
|
||||
mult = 1;
|
||||
if (np->nat_level[NAT_TLEV] < lp->lnd_tech * 0.85)
|
||||
|
|
|
@ -104,7 +104,8 @@ upd_plane(struct plnstr *pp, int etus,
|
|||
if (build == 1) {
|
||||
if (!pp->pln_off && np->nat_money >= 0)
|
||||
planerepair(pp, np, bp, etus);
|
||||
pp->pln_off = 0;
|
||||
if (!player->simulation)
|
||||
pp->pln_off = 0;
|
||||
} else {
|
||||
mult = 1;
|
||||
if (np->nat_level[NAT_TLEV] < pp->pln_tech * 0.85)
|
||||
|
|
|
@ -138,7 +138,8 @@ upd_ship(struct shpstr *sp, int etus,
|
|||
if (build == 1) {
|
||||
if (!sp->shp_off && np->nat_money >= 0)
|
||||
shiprepair(sp, np, bp, etus);
|
||||
sp->shp_off = 0;
|
||||
if (!player->simulation)
|
||||
sp->shp_off = 0;
|
||||
} else {
|
||||
mult = 1;
|
||||
if (np->nat_level[NAT_TLEV] < sp->shp_tech * 0.85)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue