1
0
Fork 0

fix compile with fgai

This commit is contained in:
Mathias Froehlich 2013-02-09 08:53:34 +01:00
parent e08eb7457e
commit 7178dd7f9e

View file

@ -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);