]> git.mxchange.org Git - flightgear.git/commit
#358: Missing option to disable AI scenarios
authorThorstenB <brehmt@gmail.com>
Sun, 26 Jun 2011 14:08:19 +0000 (16:08 +0200)
committerThorstenB <brehmt@gmail.com>
Sun, 26 Jun 2011 14:08:19 +0000 (16:08 +0200)
commit1ebab94710faaa5295470ad77cc44be5e8104473
treef1b7cc6f8d7006031275a8d75683714eb32bcf60
parentc19664291f3a12ab2518978d0b51a8ad52fd53b5
#358: Missing option to disable AI scenarios
--ai-scenario=... can only add/enable another scenario.
Introduce --disable-ai-scenarios option to disable all scenarios (can be
used by external launchers, GUIs etc)
Also provide error instead of debug message when a scenario cannot be loaded.
src/AIModel/AIManager.cxx
src/Main/options.cxx