/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2014, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
static int paradrop(struct emp_qelem *list, coord x, coord y);
int
-para(void)
+c_paradrop(void)
{
coord tx, ty;
coord ax, ay;
getsect(tx, ty, &target);
pr("LZ is %s\n", xyas(tx, ty, player->cnum));
ap_to_target = strlen(flightpath);
- if (flightpath[ap_to_target - 1] == 'h')
- ap_to_target--;
pr("range to target is %d\n", ap_to_target);
if (target.sct_own == player->cnum) {
pr("You can't air-assault your own sector!\n");
if (att_abort(A_PARA, NULL, def))
return RET_FAIL;
- /* Show what we're air-assaulting, and check treaties */
-
- if (att_show(def))
- return RET_FAIL;
+ /* Show what we're air-assaulting */
+ att_show(def);
/* set what we're air-assaulting with */