| 05-20-2006, 01:53 AM | #1 | ||
in my code: Quote:
Quote:
And my question is : Need I set local var to null after Remove or Destroy It ? And if yes ? then one more question :D : What does extract action "RemoveLocation(point)" and "set point = null" do ? Different what ? And what about some more local var: timer, trigger, action, condition ? |
| 05-20-2006, 02:11 AM | #2 |
Destroying it destroys the actual object your variable is pointing to( think C++ and destroying dynamically created objects), and nulling it effectively blanks the memory, and fixes some sort of internal error and allows it to free the memory properly. |
| 05-20-2006, 05:15 AM | #3 |
| 05-20-2006, 09:01 AM | #4 |
Also, please use [jass] tags not [quote] tags. Thanks. |
