Browse Source

Don't panic link if the avatar is flying around

Adam Johnson 11 years ago
parent
commit
9d6e0a68b1
  1. 4
      Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp

4
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);

Loading…
Cancel
Save