forked from Mirrors/openclonk
6cb154fabd
This usually happens in the following case from ClonkControl.ocd/Script.c: // Release commands are always forwarded even if contents is 0, in case we // need to cancel use of an object that left inventory if (contents || (status == CONS_Up && GetUsedObject())) { if (ControlUse2Script(ctrl, x, y, strength, repeat, status, contents)) return true; } It could also be necessary that, instead of contents, either "this", or GetUsedObject() should be passed. Not sure which one was intended. |
||
---|---|---|
.. | ||
DefCore.txt | ||
Script.c |