summaryrefslogtreecommitdiffhomepage
path: root/Stars45/SeekerAI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/SeekerAI.cpp')
-rw-r--r--Stars45/SeekerAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/SeekerAI.cpp b/Stars45/SeekerAI.cpp
index 86f0691..9983bad 100644
--- a/Stars45/SeekerAI.cpp
+++ b/Stars45/SeekerAI.cpp
@@ -209,8 +209,8 @@ SeekerAI::CheckDecoys(double target_distance)
return;
}
- if (target &&
- target == orig_target &&
+ if (target &&
+ target == orig_target &&
orig_target->GetActiveDecoys().size()) {
ListIter<Shot> decoy = orig_target->GetActiveDecoys();