Well, ent_remove(theEnt); theEnt = NULL; doesn't work either, because it's not the same pointer.
So how do I set ENTITY* inLight to null? from outside the function? I can't, right? cause the scope of that variable's limited to the function...?



Last edited by Germanunkol; 10/15/10 11:00.

~"I never let school interfere with my education"~
-Mark Twain