/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2016, 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-2010
+ * Markus Armbruster, 2006-2013
*/
#include <config.h>
prdate();
nunit = 0;
while (nxtitem(&nstr, &unit)) {
- if (!player->owner)
+ if (!player->owner || !unit.gen.own)
continue;
if (!unit.gen.off == !off)
continue;