Okay dann mach mal vor "ent = NULL;" oder wie das bei dir heißt:
unitHandleArray[i] = handle(ent); //bei ent das was du hast

Sonst schick mir schnell das ganze Projekt zu dann guck ich mir das mal an... so aus der ferne das zu beurteilen is ein wenig schwirig..

Last edited by Ralph; 04/27/09 21:13.