halflife
halflife copied to clipboard
momentary_door blocking ai nodes freezes game in c2a3d
This happens on c2a3d (the apprehension map) with a fresh node graph.
The game freezes, and checking the generated qconsole.log it appears that the AI system is crippling the game, spamming Unhandled Ent in Path momentary_door
. This error is emanated from dlls/nodes.cpp, line 283.
Proposed fix
Add momentary_door
to the entity check in the same function and handle as appropriate. Seems to me that check can be done together with func_door
.
Note that this freeze is temporary while the game generates the node graph. Depending on how fast your computer is it could take a couple dozen seconds or a couple minutes. Enabling developer mode slows it down a lot because it logs the error every time it checks the entity.