diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:37:36 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:37:36 +0000 |
commit | 30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (patch) | |
tree | 4d8ac7e75ac179a918a76def244de6e3f3314e76 /games/sail | |
parent | 188803394908f222ab3ed8ec32331eb6dd00fd2d (diff) | |
download | FreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.zip FreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'games/sail')
-rw-r--r-- | games/sail/assorted.c | 2 | ||||
-rw-r--r-- | games/sail/dr_3.c | 4 | ||||
-rw-r--r-- | games/sail/game.c | 2 | ||||
-rw-r--r-- | games/sail/globals.c | 2 | ||||
-rw-r--r-- | games/sail/pl_5.c | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/games/sail/assorted.c b/games/sail/assorted.c index 2fb12ac..0700be2 100644 --- a/games/sail/assorted.c +++ b/games/sail/assorted.c @@ -213,7 +213,7 @@ int rig, shot, hittable, roll; makesignal(on, "crew mutinying!", (struct ship *)0); on->specs->qual = 5; Write(W_CAPTURED, on, 0, on->file->index, 0, 0, 0); - } else + } else makesignal(on, "crew demoralized", (struct ship *)0); Write(W_QUAL, on, 0, on->specs->qual, 0, 0, 0); } diff --git a/games/sail/dr_3.c b/games/sail/dr_3.c index a0ceb72..027c1b1 100644 --- a/games/sail/dr_3.c +++ b/games/sail/dr_3.c @@ -320,7 +320,7 @@ reload() checksails() { register struct ship *sp; - register int rig, full; + register int rig, full; struct ship *close; foreachship(sp) { @@ -336,7 +336,7 @@ checksails() full = 1; else full = 0; - } else + } else full = 0; } else full = 0; diff --git a/games/sail/game.c b/games/sail/game.c index bc8a32a..46a3420 100644 --- a/games/sail/game.c +++ b/games/sail/game.c @@ -79,7 +79,7 @@ int dir, fs; Move = (flank ? 2 : 1) - WET[windspeed][ship->specs->class-1].D; else if (dir == winddir + 4 || dir == winddir - 4) Move = 0; - else + else Move -= WET[windspeed][ship->specs->class-1].A; Move -= riggone; Move = Move < 0 ? 0 : Move; diff --git a/games/sail/globals.c b/games/sail/globals.c index 1a7acbe..61ac18a 100644 --- a/games/sail/globals.c +++ b/games/sail/globals.c @@ -415,7 +415,7 @@ char AMMO[9][4] = { { -3, 2, 0, 3 }, { -3, 2, 0, 3 } }; - + char HDT[9][10] = { { 1, 0,-1,-2,-3,-3,-4,-4,-4,-4 }, { 1, 1, 0,-1,-2,-2,-3,-3,-3,-3 }, diff --git a/games/sail/pl_5.c b/games/sail/pl_5.c index 7be6e79..85e3a2e 100644 --- a/games/sail/pl_5.c +++ b/games/sail/pl_5.c @@ -201,14 +201,14 @@ int crew[3]; char isdefense; char buf; { - register int k, j, men; + register int k, j, men; struct BP *ptr; int temp[3]; for (k = 0; k < 3; k++) temp[k] = crew[k]; if (isdigit(buf)) { - ptr = isdefense ? to->file->DBP : to->file->OBP; + ptr = isdefense ? to->file->DBP : to->file->OBP; for (j = 0; j < NBP && ptr[j].turnsent; j++) ; if (!ptr[j].turnsent && buf > '0') { |