summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Debug.c
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2016-03-09 22:53:18 +0100
committerMittendrein Markus <maxmitti@gmx.net>2016-03-09 22:53:18 +0100
commit8e8da78c5178c72c3621c7c869876ec75d6ff320 (patch)
tree5918dd28987206c0bb62fae183f01b2ae6a1b859 /TemplePushing.c4s/System.c4g/Debug.c
parente0f54dc408b9f2948cb78100d324aaefd1600cd3 (diff)
downloadtempelschubsen-8e8da78c5178c72c3621c7c869876ec75d6ff320.tar.gz
tempelschubsen-8e8da78c5178c72c3621c7c869876ec75d6ff320.zip
Fix searching of spawn positions
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()));