(carriersatxy): Use &&' instead of somewhat confusing
&'.
This commit is contained in:
parent
1f5754b5aa
commit
b8c9d6a029
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ carriersatxy(coord x, coord y, int wantflags, int nowantflags, natid own)
|
||||||
if (ship.shp_effic < SHIP_MINEFF || ship.shp_own == 0)
|
if (ship.shp_effic < SHIP_MINEFF || ship.shp_own == 0)
|
||||||
continue;
|
continue;
|
||||||
allied = (getrel(getnatp(ship.shp_own), own) == ALLIED);
|
allied = (getrel(getnatp(ship.shp_own), own) == ALLIED);
|
||||||
if ((ship.shp_own != own) & !allied)
|
if ((ship.shp_own != own) && !allied)
|
||||||
continue;
|
continue;
|
||||||
mp = &mchr[(int)ship.shp_type];
|
mp = &mchr[(int)ship.shp_type];
|
||||||
if (wantflags) {
|
if (wantflags) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue