Memory corruption warning

Blitz3D Forums/Blitz3D Programming/Memory corruption warning

I agree. Does this generate an error in debug mode?

Surfaces are definitely cleared by freeentity. Clearsurface is only there to delete a particular surface within a mesh; usually prior to rebuilding.