Indented with src/scripts/indent-emp.

This commit is contained in:
Markus Armbruster 2003-09-02 20:48:48 +00:00
parent 5f263a7753
commit 9b7adfbecc
437 changed files with 52211 additions and 51052 deletions

View file

@ -45,20 +45,20 @@
int
wipe(void)
{
struct sctstr sect;
struct nstr_sect nstr;
int vec[I_MAX+1];
struct sctstr sect;
struct nstr_sect nstr;
int vec[I_MAX + 1];
if (!snxtsct(&nstr, player->argp[1]))
return RET_SYN;
bzero((s_char *)vec, sizeof(vec));
while (nxtsct(&nstr, &sect)) {
if (!player->owner)
continue;
putvec(VT_DIST, vec, (s_char *)&sect, EF_SECTOR);
pr("Distribution thresholds wiped from %s\n",
xyas(nstr.x, nstr.y, player->cnum));
putsect(&sect);
}
return RET_OK;
if (!snxtsct(&nstr, player->argp[1]))
return RET_SYN;
bzero((s_char *)vec, sizeof(vec));
while (nxtsct(&nstr, &sect)) {
if (!player->owner)
continue;
putvec(VT_DIST, vec, (s_char *)&sect, EF_SECTOR);
pr("Distribution thresholds wiped from %s\n",
xyas(nstr.x, nstr.y, player->cnum));
putsect(&sect);
}
return RET_OK;
}