]> git.mxchange.org Git - flightgear.git/commitdiff
Fix Carriers without catapults and wires.
authorfrohlich <frohlich>
Sat, 16 May 2009 17:39:23 +0000 (17:39 +0000)
committerTim Moore <timoore@redhat.com>
Tue, 19 May 2009 22:00:05 +0000 (00:00 +0200)
Modified Files:
src/AIModel/AICarrier.cxx

src/AIModel/AICarrier.cxx

index e522019398fd3a7932152e1d9116fa438fe5e632..de59545d6f225e5dd967dd7cfe66d97cfeefb862 100644 (file)
@@ -394,7 +394,7 @@ void FGAICarrier::initModel(osg::Node *node)
     // process the 3d model here
     // mark some objects solid, mark the wires ...
     FGCarrierVisitor carrierVisitor(this, wire_objects, catapult_objects);
-    model->accept(carrierVisitor);
+    node->accept(carrierVisitor);
 }
 
 void FGAICarrier::bind() {