/*
* 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 cmd_move_map(coord, coord, char *, char *);
int
-move(void)
+c_move(void)
{
int amount;
struct sctstr sect;
}
}
- if (!istest && !want_to_abandon(§, vtype, amount, NULL)) {
+ if (!istest && !abandon_askyn(§, vtype, amount, NULL)) {
pr("Move cancelled.\n");
return RET_FAIL;
}
if (amount > ITEM_MAX - amt_dst) {
pr("Only enough room for %d in %s. The goods will be returned.\n",
ITEM_MAX - amt_dst, xyas(sect.sct_x, sect.sct_y, player->cnum));
- /* FIXME Not nice. Move what we can and return the rest. */
+ /* FIXME Not nice. Move what we can and return the rest. */
getsect(x, y, §);
}