/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2014, 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:
* Ken Stevens, 1995
- * Markus Armbruster, 2004-2009
+ * Markus Armbruster, 2004-2010
*/
#include <config.h>
#include "combat.h"
#include "commands.h"
#include "land.h"
-#include "path.h"
#include "ship.h"
static double units_in_sector(struct combat *def);
continue;
if (land.lnd_own != def->own)
continue;
- if (land.lnd_ship >= 0)
+ if (land.lnd_ship >= 0 || land.lnd_land >= 0)
continue;
d_unit = defense_val(&land);
if (!lnd_could_be_supplied(&land))