From d09c0ec8b903ac8373f20bebc04bcfe0db18260a Mon Sep 17 00:00:00 2001 From: frohlich Date: Thu, 10 Sep 2009 17:45:17 +0000 Subject: [PATCH] Disable collisions with the MP aircraft again. Modified Files: src/AIModel/AIMultiplayer.cxx --- src/AIModel/AIMultiplayer.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AIModel/AIMultiplayer.cxx b/src/AIModel/AIMultiplayer.cxx index d9b44305a..ab9cc5c3c 100755 --- a/src/AIModel/AIMultiplayer.cxx +++ b/src/AIModel/AIMultiplayer.cxx @@ -29,6 +29,8 @@ #include "AIMultiplayer.hxx" +#include + // #define SG_DEBUG SG_ALERT FGAIMultiplayer::FGAIMultiplayer() : FGAIBase(otMultiplayer) { @@ -37,6 +39,9 @@ FGAIMultiplayer::FGAIMultiplayer() : FGAIBase(otMultiplayer) { mTimeOffsetSet = false; mAllowExtrapolation = true; mLagAdjustSystemSpeed = 10; + + aip.getSceneGraph()->setNodeMask(~SG_NODEMASK_TERRAIN_BIT); + }