
JASS:
set x = GetStartLocationX(GetPlayerStartLocation(heroOwner))
set y = GetStartLocationY(GetPlayerStartLocation(heroOwner))
set r = Rect( x - 200*0.5, y - 200*0.5, x + 200*0.5, y + 200*0.5 )
call EnumItemsInRect(r,null,function GiveBackItems)
set r = null
I'm just eliminating all the location calls in my map. I've never really used item groups and want to know if there is someway it needs to be cleaned up. Also, does a rect like this one need to be removed before nullified?