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 Zapper

>because SetRDir() is harmless on dead objects.


What would those "dead objects" be? I think I could have misunderstood you.
If an object is removed and the locals holding a reference to said object are not automatically set to zero, the object is considered "dead", right? And when SetRDir internally tries to deference the handler it would notice that some magic number (?) does not fit anymore and the object does not exist anymore and therefore do nothing?
That's how I understood that so far.

(Because using "dead" as "not alive" would not make much sense since objects or vehicles are never alive but can still break after damage)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill