]> git.pond.sub.org Git - empserver/commitdiff
Fix bad line break / whitespace. No functional changes.
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 23 Feb 2005 15:41:22 +0000 (15:41 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 23 Feb 2005 15:41:22 +0000 (15:41 +0000)
src/lib/subs/attsub.c
src/lib/subs/shpsub.c
src/lib/update/mobility.c

index 4cae696709df7fecade9b7a40fe8dc836eafcbe3..71412d38ab0b9aa30f2b0060fd2b2fe144cbe904 100644 (file)
@@ -632,9 +632,8 @@ board_abort(struct combat *off, struct combat *def)
        }
        getship(off->shp_uid, &aship);
        getship(def->shp_uid, &dship);
        }
        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,
            pr("Victim ship moves faster than you do!\n");
            if (def->own)
                wu(0, def->own,
index f52a0480e0987492ba2429325174125fc843ec99..307b27d3c3291648060186ae431d73336d7068d3 100644 (file)
@@ -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),
            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;
 }
     }
     return stopping;
 }
index fa572e2a801e8166a211acfce554c0e100547214..961d0f3aac92dd3d3c731021927e231d1e723790 100644 (file)
@@ -58,7 +58,7 @@ static void do_mob_sect(struct sctstr *sp, int etus);
 static void do_mob_ship(struct shpstr *, int);
 
 static int
 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;
 {
     time_t secs;
     time_t now;