Disable collisions with the MP aircraft again.
Modified Files: src/AIModel/AIMultiplayer.cxx
This commit is contained in:
parent
5f16e4da60
commit
d09c0ec8b9
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue