Oops, change type.
This commit is contained in:
parent
4d3e523f90
commit
8beb280625
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ void FGAIManager::init() {
|
|||
int rval;
|
||||
root = fgGetNode("sim/ai", true);
|
||||
|
||||
enabled = root->getNode("enabled", true)->getStringValue();
|
||||
enabled = root->getNode("enabled", true)->getBoolValue();
|
||||
if (!enabled)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue