}
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,
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;
}
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;