Posted by Jeremy on April 19, 2001 at 23:19:33:
When a creature is created, I create a temporary creature of the appropriate type in my ecosystem and then add the address of that creature to a queue of creature pointers. When the create function ends, the temporary creature goes out of scope, so the pointer stored in the queue now points to garbage. I can't think of anyway around this right now. Can anybody help me out?
Post a Followup