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>
#endif
#include <cstdio>
#include <simgear/misc/sg_path.hxx>
#include <simgear/debug/logstream.hxx>
#include "AIObject.hxx"
#include "AIManager.hxx"
@ -547,8 +550,8 @@ main(int argc, char* argv[])
manager->setFederationObjectModel(optarg);
break;
case 'p':
logbuf::set_log_classes(SG_ALL);
logbuf::set_log_priority(sgDebugPriority(atoi(optarg)));
sglog().set_log_classes(SG_ALL);
sglog().set_log_priority(sgDebugPriority(atoi(optarg)));
break;
case 'R':
manager->setTimeRegulating(true);