Quote:
No, after the entity is removed, its pointer is null/invalid (and thus all skills are unreadalbe),
and I operate on a list of handles to entities, read out
by other codeparts.

I don't understand. When you remove the entity, simply set the corresponding handle to zero, i.e. before the ptr_/ent_remove instruction.
Then, in your list of handles, the handle will be zero and thus can be ignored, so you don't have to call ptr_for_handle anymore.


"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