Quote:
While the content of local variables is preserved, their addresses change after every wait() because the function runs every time in a different stack frame.

He is not using pointers to local variables, just saving the results of create or memory allocations in local variables (pointers). Those memory addresses are the *content* in the context of the quote and thus are preserved during wait, not the addresses of the actual local variables themselves.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends