phire / doom3.gpl

Doom 3 GPL source release
GNU General Public License v3.0
15 stars 4 forks source link

Cmake branch scripting error. Unknown event 'vagary_ChooseObjectToThrow' #12

Closed phire closed 12 years ago

phire commented 12 years ago

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.

phire commented 12 years ago

Fixed in 162e151f671a2065fd8dc6fc5b38210723a3235e.