Freeing a copied entity

Blitz3D Forums/Blitz3D Programming/Freeing a copied entity

Hi

I had to revisit an old demo today which seemed to run OK but hung after about 20 mins. I checked the code and the only potential prob I could see was that I created a master entity (cube) which I then copy (copyentity) many times before freeEntity'ing the master cube.

I guess this is a no-no as the copies refer to the same mesh which has now been freed. Or is it OK to do this?

I'm a bit rusty as I haven't done any programming in ages - I've lost my mojo (i.e. enthusiasm) :(