- Joined
- Oct 11, 2012
- Messages
- 711
Hi all. I know that most of the BJs are bad and I just want to know if the following BJ leaks region, or a more probable question:does local region leaks? Thanks:
JASS:
function TriggerRegisterEnterRectSimple takes trigger trig, rect r returns event
local region rectRegion = CreateRegion()
call RegionAddRect(rectRegion, r)
return TriggerRegisterEnterRegion(trig, rectRegion, null)
endfunction