/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
* Dave Pare, 1986
* Ken Stevens, 1995
* Steve McClure, 2000
- * Markus Armbruster, 2006-2009
+ * Markus Armbruster, 2006-2011
*/
#include <config.h>
prnuke(&nuke), nuke.nuk_plane);
return RET_FAIL;
}
+ if (nuke.nuk_x != pl.pln_x || nuke.nuk_y != pl.pln_y) {
+ pr("%s isn't in the same sector as %s!\n",
+ prnuke(&nuke), prplane(&pl));
+ return RET_FAIL;
+ }
if (*p == 'y' || *p == 'Y')
pl.pln_flags |= PLN_AIRBURST;