From 9d6e0a68b1cc5d23a76d7c44683090fd72769e4c Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 5 Feb 2013 17:21:26 -0500 Subject: [PATCH] Don't panic link if the avatar is flying around --- Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp b/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp index 147c7790..076ef67a 100644 --- a/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp +++ b/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp @@ -669,6 +669,10 @@ bool plPanicLinkRegion::MsgReceive(plMessage* msg) if (plNetClientApp::GetInstance()->GetLocalPlayerKey() != pCollMsg->fOtherKey) return true; + // If the avatar is disabled (flying around), don't trigger + if (IIsDisabledAvatar(pCollMsg->fOtherKey)) + return false; + if (pCollMsg->fEntering) { plArmatureMod* avMod = IGetAvatarModifier(pCollMsg->fOtherKey);