summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CampaignSituationReport.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-06-17 06:38:09 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-06-17 06:38:09 +0000
commit05f1b225a03adeab4cda01a6c96595359464ac0e (patch)
treebe9beaaee8116ed81ef9c2aa07d0e16864b4b84b /Stars45/CampaignSituationReport.cpp
parent89fce9332d6a40fe82acea1c235129b3c823bddc (diff)
downloadstarshatter-05f1b225a03adeab4cda01a6c96595359464ac0e.zip
starshatter-05f1b225a03adeab4cda01a6c96595359464ac0e.tar.gz
starshatter-05f1b225a03adeab4cda01a6c96595359464ac0e.tar.bz2
(Hopefully) Allows SWACS ships to do more than sit around. Needs testing.
Diffstat (limited to 'Stars45/CampaignSituationReport.cpp')
-rw-r--r--Stars45/CampaignSituationReport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/CampaignSituationReport.cpp b/Stars45/CampaignSituationReport.cpp
index 2c85a70..123fd63 100644
--- a/Stars45/CampaignSituationReport.cpp
+++ b/Stars45/CampaignSituationReport.cpp
@@ -371,7 +371,7 @@ CampaignSituationReport::GetThreatInfo()
mission_role == Mission::TRANSPORT)
continue;
- if (elem->GetDesign()->type >= Ship::MINE && elem->GetDesign()->type <= Ship::SWACS)
+ if (elem->GetDesign()->type >= Ship::MINE && elem->GetDesign()->type <= Ship::DEFSAT)
enemy_sites += elem->Count();
else if (elem->IsDropship())