From 4977eaedbe4ac207121a0fb24165467b825d5f98 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 9 Mar 2012 23:30:31 -0500 Subject: [PATCH] Allow clickables to function while sitting or AFK. Less special casing FTW! --- .../Plasma/PubUtilLib/plAvatar/plAvBrainGeneric.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Sources/Plasma/PubUtilLib/plAvatar/plAvBrainGeneric.cpp b/Sources/Plasma/PubUtilLib/plAvatar/plAvBrainGeneric.cpp index 37349445..90e07626 100644 --- a/Sources/Plasma/PubUtilLib/plAvatar/plAvBrainGeneric.cpp +++ b/Sources/Plasma/PubUtilLib/plAvatar/plAvBrainGeneric.cpp @@ -170,12 +170,6 @@ void plAvBrainGeneric::Activate(plArmatureModBase *avMod) { plArmatureBrain::Activate(avMod); - if ((GetType() == kEmote || GetType() == kAFK || GetType() == kSitOnGround) && fAvMod->IsLocalAvatar()) - { - plInputIfaceMgrMsg* msg = new plInputIfaceMgrMsg(plInputIfaceMgrMsg::kDisableClickables ); - plgDispatch::MsgSend(msg); - } - int numStages = fStages->size(); if (!numStages) return; @@ -315,12 +309,6 @@ void plAvBrainGeneric::Deactivate() } plArmatureBrain::Deactivate(); - - if ((GetType() == kEmote || GetType() == kAFK || GetType() == kSitOnGround) && fAvMod->IsLocalAvatar()) - { - plInputIfaceMgrMsg* msg = new plInputIfaceMgrMsg(plInputIfaceMgrMsg::kEnableClickables ); - plgDispatch::MsgSend(msg); - } } // GETRECIPIENT