From: Jeff F. <fre...@he...> - 2001-02-25 06:31:40
|
Max Horn wrote: > > Actually, you are right Jeff; however, this happens in more places > then just for "nearby NPCs". E.g. Projectiles keep a pointer to the > "gunner"... Arggh. > > The way Ryan wanted to fix this was by introducing an Actor_ref class. Yes. Note that this problem came up before in the Usecode interpreter, which is why 'delobjs.{cc,h}' exist. Sometimes, the Usecode would delete something, but then refer to it again. These problems make garbage collection appear more and more appealing. |