Zwiebelchen
You can change this now in User CP.
- Reaction score
- 60
Why is this approved? The spell is leaking Locations like hell. It creates more than 40-50 permanent handles on every use.
The function "Location(X, Y)" leaks twice in your code in addition to those leaks Tyrande reported!
Create a local Location and store the Location return in it, then remove the Location and set it to null.
Or use a global temporary Location variable;
Also, half of the variables stored to the struct are useless and could be done via locals or some few globals.
The function "Location(X, Y)" leaks twice in your code in addition to those leaks Tyrande reported!
Create a local Location and store the Location return in it, then remove the Location and set it to null.
Or use a global temporary Location variable;
Also, half of the variables stored to the struct are useless and could be done via locals or some few globals.