forked from Mirrors/openclonk
Script: FindConstructionSite returns 0 when the search fails
parent
0a36b23a18
commit
471b546c56
|
@ -1921,6 +1921,7 @@ static C4ValueArray *FnFindConstructionSite(C4AulContext *cthr, C4PropList * Pro
|
|||
pDef->Shape.Wdt,pDef->Shape.Hgt,
|
||||
pDef->Category,
|
||||
20);
|
||||
if(!result) return 0;
|
||||
C4ValueArray *pArray = new C4ValueArray(2);
|
||||
pArray->SetItem(0, C4VInt(v1));
|
||||
pArray->SetItem(1, C4VInt(v2));
|
||||
|
|
Loading…
Reference in New Issue