- Joined
- May 20, 2009
- Messages
- 822
So, I'm not exactly sure how this works. If I do,
MS_MoverPoint is a reference to the information in the first line, correct? So doing RemoveLocation is removing what the variable is referencing, and thus this wouldn't be a leak? And also any reference to MS_MoverPoint wouldn't cause a leak either?
-
Set MS_MoverPoint[MS_Index[1]] = (Position of MS_Unit[MS_Index[1]])
JASS:
call RemoveLocation( udg_MS_MoverPoint[udg_MS_Index[1]] )
MS_MoverPoint is a reference to the information in the first line, correct? So doing RemoveLocation is removing what the variable is referencing, and thus this wouldn't be a leak? And also any reference to MS_MoverPoint wouldn't cause a leak either?