Break lines more tastefully.
This commit is contained in:
parent
fcc0162188
commit
5b4b3a13cb
40 changed files with 220 additions and 229 deletions
|
@ -483,13 +483,11 @@ doland(char op, int arg, char *p, struct sctstr *sect)
|
|||
xyas(sect->sct_x, sect->sct_y, player->cnum),
|
||||
cname(sect->sct_own), sect->sct_own, cname(newown), newown);
|
||||
if (sect->sct_own) {
|
||||
makelost(EF_SECTOR, sect->sct_own, 0, sect->sct_x,
|
||||
sect->sct_y);
|
||||
makelost(EF_SECTOR, sect->sct_own, 0,
|
||||
sect->sct_x, sect->sct_y);
|
||||
wu(player->cnum, sect->sct_own,
|
||||
"Sector %s lost to deity intervention\n", xyas(sect->sct_x,
|
||||
sect->sct_y,
|
||||
sect->
|
||||
sct_own));
|
||||
"Sector %s lost to deity intervention\n",
|
||||
xyas(sect->sct_x, sect->sct_y, sect->sct_own));
|
||||
}
|
||||
benefit(sect->sct_own, 0);
|
||||
sect->sct_own = newown;
|
||||
|
@ -808,15 +806,15 @@ doship(char op, int arg, char *p, struct shpstr *ship)
|
|||
if (arg && arg < MAXNOC) {
|
||||
wu(player->cnum, (natid)arg,
|
||||
"%s given to you by deity intervention!\n", prship(ship));
|
||||
makelost(EF_SHIP, ship->shp_own, ship->shp_uid, ship->shp_x,
|
||||
ship->shp_y);
|
||||
makelost(EF_SHIP, ship->shp_own, ship->shp_uid,
|
||||
ship->shp_x, ship->shp_y);
|
||||
ship->shp_own = (natid)arg;
|
||||
makenotlost(EF_SHIP, ship->shp_own, ship->shp_uid, ship->shp_x,
|
||||
ship->shp_y);
|
||||
makenotlost(EF_SHIP, ship->shp_own, ship->shp_uid,
|
||||
ship->shp_x, ship->shp_y);
|
||||
} else if (!arg) {
|
||||
ship->shp_effic = 0;
|
||||
makelost(EF_SHIP, ship->shp_own, ship->shp_uid, ship->shp_x,
|
||||
ship->shp_y);
|
||||
makelost(EF_SHIP, ship->shp_own, ship->shp_uid,
|
||||
ship->shp_x, ship->shp_y);
|
||||
ship->shp_own = (natid)0;
|
||||
}
|
||||
break;
|
||||
|
@ -925,14 +923,14 @@ dounit(char op, int arg, char *p, struct lndstr *land)
|
|||
if (arg && arg < MAXNOC) {
|
||||
wu(player->cnum, (natid)arg,
|
||||
"%s given to you by deity intervention!\n", prland(land));
|
||||
makelost(EF_LAND, land->lnd_own, land->lnd_uid, land->lnd_x,
|
||||
land->lnd_y);
|
||||
makelost(EF_LAND, land->lnd_own, land->lnd_uid,
|
||||
land->lnd_x, land->lnd_y);
|
||||
land->lnd_own = (natid)arg;
|
||||
makenotlost(EF_LAND, land->lnd_own, land->lnd_uid, land->lnd_x,
|
||||
land->lnd_y);
|
||||
makenotlost(EF_LAND, land->lnd_own, land->lnd_uid,
|
||||
land->lnd_x, land->lnd_y);
|
||||
} else if (!arg) {
|
||||
makelost(EF_LAND, land->lnd_own, land->lnd_uid, land->lnd_x,
|
||||
land->lnd_y);
|
||||
makelost(EF_LAND, land->lnd_own, land->lnd_uid,
|
||||
land->lnd_x, land->lnd_y);
|
||||
land->lnd_effic = 0;
|
||||
land->lnd_own = (natid)0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue