How to reproduce:
- Aquire torch, activate torch
- Wait until torch burns out
- Get the following message: “DEBUG: burnt out torch is active, but has no known active function.”
In-game workaround: press space to dismiss debug message, then d to drop the burnt out torch. Picking it up after dropping does work with no more errors.
I’m not sure why this happens, as far as I can tell from iuse.cpp, the active flag is set to false when the torch runs out of fuel.