/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
* Known contributors to this file:
* Thomas Ruschak, 1992
* Steve McClure, 1998
- * Markus Armbruster, 2006-2009
+ * Markus Armbruster, 2006-2013
*/
#include <config.h>
#include <ctype.h>
#include "commands.h"
#include "empobj.h"
-#include "path.h"
static int start_stop(int);
static int start_stop_sector(char *, int);
prdate();
nunit = 0;
while (nxtitem(&nstr, &unit)) {
- if (!player->owner)
+ if (!player->owner || !unit.gen.own)
continue;
if (!unit.gen.off == !off)
continue;