From 8beb28062566fe13441cf75892b96a66e5989739 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 19 May 2004 14:10:31 +0000 Subject: [PATCH] Oops, change type. --- src/AIModel/AIManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AIModel/AIManager.cxx b/src/AIModel/AIManager.cxx index 466f5332a..68f60474e 100644 --- a/src/AIModel/AIManager.cxx +++ b/src/AIModel/AIManager.cxx @@ -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;