fix compile with fgai
This commit is contained in:
parent
e08eb7457e
commit
7178dd7f9e
1 changed files with 5 additions and 2 deletions
|
@ -18,7 +18,10 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
#include <simgear/misc/sg_path.hxx>
|
#include <simgear/misc/sg_path.hxx>
|
||||||
|
#include <simgear/debug/logstream.hxx>
|
||||||
|
|
||||||
#include "AIObject.hxx"
|
#include "AIObject.hxx"
|
||||||
#include "AIManager.hxx"
|
#include "AIManager.hxx"
|
||||||
|
@ -547,8 +550,8 @@ main(int argc, char* argv[])
|
||||||
manager->setFederationObjectModel(optarg);
|
manager->setFederationObjectModel(optarg);
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
logbuf::set_log_classes(SG_ALL);
|
sglog().set_log_classes(SG_ALL);
|
||||||
logbuf::set_log_priority(sgDebugPriority(atoi(optarg)));
|
sglog().set_log_priority(sgDebugPriority(atoi(optarg)));
|
||||||
break;
|
break;
|
||||||
case 'R':
|
case 'R':
|
||||||
manager->setTimeRegulating(true);
|
manager->setTimeRegulating(true);
|
||||||
|
|
Loading…
Reference in a new issue