/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2018, 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 edit_nuke(struct nukstr *, char *, char *);
int
-edit(void)
+c_edit(void)
{
union empobj_storage item;
char *what;
divine_flag_change((struct empobj *)plane, "Flags",
plane->pln_flags, arg, plane_flags);
plane->pln_flags = arg;
+ if (pln_is_in_orbit(plane))
+ plane->pln_ship = plane->pln_land = -1;
break;
default:
pr("huh? (%s)\n", key);