/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* Known contributors to this file:
* Thomas Ruschak, 1992
* Steve McClure, 2000
- * Markus Armbruster, 2005-2008
+ * Markus Armbruster, 2005-2009
*/
#include <config.h>
}
}
+ if (type == EF_PLANE && nuk_on_plane((struct plnstr *)gp) >= 0) {
+ pr("%s can't perform a mission while it carries a nuclear weapon",
+ obj_nameof(gp));
+ continue;
+ }
+
if (*p == '.') {
x = gp->x;
y = gp->y;