From 7e402f062c1abf6eef19cf058f3e8758a5700b4c Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 23 Feb 2005 15:41:22 +0000 Subject: [PATCH] Fix bad line break / whitespace. No functional changes. --- src/lib/subs/attsub.c | 5 ++--- src/lib/subs/shpsub.c | 4 ++-- src/lib/update/mobility.c | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lib/subs/attsub.c b/src/lib/subs/attsub.c index 4cae69670..71412d38a 100644 --- a/src/lib/subs/attsub.c +++ b/src/lib/subs/attsub.c @@ -632,9 +632,8 @@ board_abort(struct combat *off, struct combat *def) } getship(off->shp_uid, &aship); getship(def->shp_uid, &dship); - if (techfact(aship.shp_tech, 1.0) * - aship.shp_speed * off->eff <= - techfact(dship.shp_tech, 1.0) * dship.shp_speed * def->eff) { + if (techfact(aship.shp_tech, 1.0) * aship.shp_speed * off->eff + <= techfact(dship.shp_tech, 1.0) * dship.shp_speed * def->eff) { pr("Victim ship moves faster than you do!\n"); if (def->own) wu(0, def->own, diff --git a/src/lib/subs/shpsub.c b/src/lib/subs/shpsub.c index f52a0480e..307b27d3c 100644 --- a/src/lib/subs/shpsub.c +++ b/src/lib/subs/shpsub.c @@ -733,8 +733,8 @@ shp_interdict(struct emp_qelem *list, coord newx, coord newy, natid victim) shp_damage(list, unit_interdict(newx, newy, victim, "subs", shp_easiest_target(list, M_SUB, 0), - MI_SINTERDICT), M_SUB, 0, newx, - newy); + MI_SINTERDICT), + M_SUB, 0, newx, newy); } return stopping; } diff --git a/src/lib/update/mobility.c b/src/lib/update/mobility.c index fa572e2a8..961d0f3aa 100644 --- a/src/lib/update/mobility.c +++ b/src/lib/update/mobility.c @@ -58,7 +58,7 @@ static void do_mob_sect(struct sctstr *sp, int etus); static void do_mob_ship(struct shpstr *, int); static int -increase_mob(time_t * counter, float mult) +increase_mob(time_t *counter, float mult) { time_t secs; time_t now; -- 2.43.0