takeover: Don't stop nukes on takeover
Nukes can't be repaired, started or stopped. Except takeover_unit() stops them. Don't. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
c6ec6a41c2
commit
539c44a13a
1 changed files with 0 additions and 3 deletions
|
@ -233,7 +233,6 @@ takeover_unit(struct empobj *unit, natid newown)
|
|||
struct shpstr *sp;
|
||||
struct plnstr *pp;
|
||||
struct lndstr *lp;
|
||||
struct nukstr *np;
|
||||
int type;
|
||||
struct nstr_item ni;
|
||||
union empobj_storage cargo;
|
||||
|
@ -262,8 +261,6 @@ takeover_unit(struct empobj *unit, natid newown)
|
|||
lp->lnd_harden = 0;
|
||||
break;
|
||||
case EF_NUKE:
|
||||
np = (struct nukstr *)unit;
|
||||
np->nuk_off = 1;
|
||||
break;
|
||||
default:
|
||||
CANT_REACH();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue