Remove takeover_ship() and takeover_land() parameter hostile

All callers pass non-zero.  Simplify accordingly.
This commit is contained in:
Markus Armbruster 2008-09-14 11:30:55 -04:00
parent b8ab065a6e
commit 69b74bb5dd
3 changed files with 13 additions and 17 deletions

View file

@ -2251,11 +2251,11 @@ take_def(int combat_mode, struct emp_qelem *list, struct combat *off,
putsect(&sect);
} else if (def->type == EF_SHIP) {
getship(def->shp_uid, &ship);
takeover_ship(&ship, player->cnum, 1);
takeover_ship(&ship, player->cnum);
putship(ship.shp_uid, &ship);
} else if (def->type == EF_LAND) {
getland(def->lnd_uid, &land);
takeover_land(&land, player->cnum, 1);
takeover_land(&land, player->cnum);
putland(land.lnd_uid, &land);
}
if (delete_me)