]> git.mxchange.org Git - flightgear.git/commitdiff
don't write past array bounds
authormfranz <mfranz>
Thu, 11 Oct 2007 07:41:44 +0000 (07:41 +0000)
committermfranz <mfranz>
Thu, 11 Oct 2007 07:41:44 +0000 (07:41 +0000)
src/AIModel/submodel.cxx

index 9d9c1e94cb5c8ba604cc61e5244bc2e88886433b..2c3947c143deb7e8f5f2fb880ac952a415f84aae 100644 (file)
@@ -33,7 +33,6 @@ FGSubmodelMgr::FGSubmodelMgr()
     yaw_offset = 0.0;
 
     out[0] = out[1] = out[2] = 0;
-    in[3] = out[3] = 1;
     string contents_node;
     contrail_altitude = 30000;
     _count = 0;