Not logged inOpenClonk Forum
Up Topic How are you using the RemoveObject-zeroes-variables feature?

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Sven2
The sanity checks are obviously not superfluous, because you do not want objects to interact with dead objects. Projectiles and weapons shouldn't hit dead objects. Floor switches shouldn't be affected by dead objects. Animals shouldn't follow dead objects. Fire should stop burning when its object is dead and dead objects shouldn't be able to catch fire again.

Just about any object interaction would need to check for dead objects (just like the engine does all those status-checks) AND still check for zero pointers in most cases.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill