Indented with src/scripts/indent-emp.
This commit is contained in:
parent
5f263a7753
commit
9b7adfbecc
437 changed files with 52211 additions and 51052 deletions
|
@ -39,18 +39,18 @@
|
|||
int
|
||||
pboa(void)
|
||||
{
|
||||
struct sctstr sect;
|
||||
struct sctstr sect;
|
||||
struct nstr_item np;
|
||||
struct plnstr plane;
|
||||
struct plnstr plane;
|
||||
|
||||
if (!snxtitem(&np, EF_PLANE, player->argp[1]))
|
||||
return RET_SYN;
|
||||
np.flags = 0;
|
||||
while (nxtitem(&np, (s_char *)&plane)) {
|
||||
getsect(plane.pln_x, plane.pln_y, §);
|
||||
if (sect.sct_own != player->cnum) continue;
|
||||
if (sect.sct_own != player->cnum)
|
||||
continue;
|
||||
takeover_plane(&plane, player->cnum);
|
||||
}
|
||||
return RET_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue