]> git.mxchange.org Git - flightgear.git/commit
Use --fg-aircraft paths for AI model
authorClément de l'Hamaide <clemaez@hotmail.fr>
Mon, 20 Jan 2014 23:06:43 +0000 (00:06 +0100)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Mon, 20 Jan 2014 23:13:17 +0000 (00:13 +0100)
commit695a9be75dcc57387ef7dcd4e8c3adcb7ab3afb1
treefc815cfba196a4bb7123008746715cdcdc3f42ef
parenta46114da9a2636aade20d2d44ecbf2ed71f8cb33
Use --fg-aircraft paths for AI model

Firstly search model in $fg-root/AI/ path,
if not found, search model in --fg-aircraft paths,
if not found, search model in $fg-root/Aircraft path

This commit should solve the complaint "I have an aircraft in a separate Aircraft/ folder
but during MP session other user are shown with the aircraft from the $fg-root/Aircraft path
instead of this behaviour I want to see the aircraft from my separate Aircraft/ folder"
src/AIModel/AIBase.cxx