Fix long lines. No functional changes.
This commit is contained in:
parent
ba2c537ce5
commit
4836f6c543
29 changed files with 141 additions and 79 deletions
|
@ -109,8 +109,9 @@ lupgr(void)
|
|||
if (sect.sct_type != SCT_HEADQ || sect.sct_effic < 60)
|
||||
continue;
|
||||
rel = getrel(getnatp(land.lnd_own), sect.sct_own);
|
||||
if ((rel < FRIENDLY) && (sect.sct_own != land.lnd_own)) {
|
||||
pr("You are not on friendly terms with the owner of unit %d!\n", land.lnd_uid);
|
||||
if (rel < FRIENDLY && sect.sct_own != land.lnd_own) {
|
||||
pr("You are not on friendly terms with the owner of unit %d!\n",
|
||||
land.lnd_uid);
|
||||
continue;
|
||||
}
|
||||
n++;
|
||||
|
@ -192,8 +193,9 @@ supgr(void)
|
|||
if (sect.sct_type != SCT_HARBR || sect.sct_effic < 60)
|
||||
continue;
|
||||
rel = getrel(getnatp(ship.shp_own), sect.sct_own);
|
||||
if ((rel < FRIENDLY) && (sect.sct_own != ship.shp_own)) {
|
||||
pr("You are not on friendly terms with the owner of ship %d!\n", ship.shp_uid);
|
||||
if (rel < FRIENDLY && sect.sct_own != ship.shp_own) {
|
||||
pr("You are not on friendly terms with the owner of ship %d!\n",
|
||||
ship.shp_uid);
|
||||
continue;
|
||||
}
|
||||
n++;
|
||||
|
@ -274,8 +276,9 @@ pupgr(void)
|
|||
if (sect.sct_type != SCT_AIRPT || sect.sct_effic < 60)
|
||||
continue;
|
||||
rel = getrel(getnatp(plane.pln_own), sect.sct_own);
|
||||
if ((rel < FRIENDLY) && (sect.sct_own != plane.pln_own)) {
|
||||
pr("You are not on friendly terms with the owner of plane %d!\n", plane.pln_uid);
|
||||
if (rel < FRIENDLY && sect.sct_own != plane.pln_own) {
|
||||
pr("You are not on friendly terms with the owner of plane %d!\n",
|
||||
plane.pln_uid);
|
||||
continue;
|
||||
}
|
||||
n++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue