phire/doom3.gpl — Issue #12: Cmake branch scripting error. Unknown event 'vagary_ChooseObjectToThrow'
Author: phire
Created: 2011-12-05 00:34:04+00:00
State: open

The latest version of my cmake branch (and jeremycw's branch https://github.com/jeremycw/doom3.gpl which I merged into mine) now builds just fine, but there is a scripting error on launch, before the menu even shows up.

ERROR: Error: file pak008.pk4/script/doom_events.script, line 1225: Unknown event 'vagary_ChooseObjectToThrow'

This event is defined in game/ai/AI_Vagary.cpp, and I can confirm that it's getting built as game/CMakeFiles/game.dir/ai/AI_Vagary.cpp.o, but grepping the final binary suggests that it might not be linked in.