summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Debug.c')
-rw-r--r--TemplePushing.c4s/System.c4g/Debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TemplePushing.c4s/System.c4g/Debug.c b/TemplePushing.c4s/System.c4g/Debug.c
index f0cd420..31d61bf 100644
--- a/TemplePushing.c4s/System.c4g/Debug.c
+++ b/TemplePushing.c4s/System.c4g/Debug.c
@@ -3,7 +3,7 @@
global func VerifyHostileSortDistance(int player)
{
var crew = GetCrew(player);
- var searchResult = crew->FindObjects(
+ var searchResult = crew->FindObjectsAllLayers(
Find_OCF(OCF_CrewMember | OCF_Alive),
Find_Hostile(player),
Sort_Distance(crew->GetX(), crew->GetY()));