Indented with src/scripts/indent-emp.
This commit is contained in:
parent
5f263a7753
commit
9b7adfbecc
437 changed files with 52211 additions and 51052 deletions
|
@ -41,13 +41,13 @@
|
|||
int
|
||||
neigh(coord x, coord y, natid own)
|
||||
{
|
||||
register int i;
|
||||
struct sctstr sect;
|
||||
register int i;
|
||||
struct sctstr sect;
|
||||
|
||||
for (i = DIR_FIRST; i <= DIR_LAST; i++) {
|
||||
getsect(x + diroff[i][0], y + diroff[i][1], §);
|
||||
if (sect.sct_own == own)
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
for (i = DIR_FIRST; i <= DIR_LAST; i++) {
|
||||
getsect(x + diroff[i][0], y + diroff[i][1], §);
|
||||
if (sect.sct_own == own)
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue