if (!machs[i]->alive) machmgr_delete(i);
}
void machmgr_toggle_tag_all(bool ignore_dead) {
int i;
for (i = 0; i < machcount; i++) {
if (!ignore_dead || machs[i]->alive)
machs[i]->tag = !machs[i]->tag;