1
0
Fork 0

Disable collisions with the MP aircraft again.

Modified Files:
	src/AIModel/AIMultiplayer.cxx
This commit is contained in:
frohlich 2009-09-10 17:45:17 +00:00 committed by Tim Moore
parent 5f16e4da60
commit d09c0ec8b9

View file

@ -29,6 +29,8 @@
#include "AIMultiplayer.hxx" #include "AIMultiplayer.hxx"
#include <simgear/scene/util/SGNodeMasks.hxx>
// #define SG_DEBUG SG_ALERT // #define SG_DEBUG SG_ALERT
FGAIMultiplayer::FGAIMultiplayer() : FGAIBase(otMultiplayer) { FGAIMultiplayer::FGAIMultiplayer() : FGAIBase(otMultiplayer) {
@ -37,6 +39,9 @@ FGAIMultiplayer::FGAIMultiplayer() : FGAIBase(otMultiplayer) {
mTimeOffsetSet = false; mTimeOffsetSet = false;
mAllowExtrapolation = true; mAllowExtrapolation = true;
mLagAdjustSystemSpeed = 10; mLagAdjustSystemSpeed = 10;
aip.getSceneGraph()->setNodeMask(~SG_NODEMASK_TERRAIN_BIT);
} }