Cygnus, Why don't you just make your own delete entity function that would set the handle to zero
example:
Function DeleteEntity( EntityHandle )
If EntityHandle <> 0
FreeEntity EntityHandle
EntityHandle = 0
Endif
EndFunction
Now go into your code and replace all the blitz "FreeEntity" commands with your own "DeleteEntity" Function. Hope that helps.
example:
Function DeleteEntity( EntityHandle )
If EntityHandle <> 0
FreeEntity EntityHandle
EntityHandle = 0
Endif
EndFunction
Now go into your code and replace all the blitz "FreeEntity" commands with your own "DeleteEntity" Function. Hope that helps.