1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-23 13:09:42 +00:00

Removed dialogue fix again, now on separate branch

This commit is contained in:
scrawl 2013-02-17 03:02:47 +01:00
parent df8e502f8c
commit 373de19aee

View file

@ -10,12 +10,8 @@ namespace MWWorld
ActionTalk::ActionTalk (const Ptr& actor) : Action (false, actor) {} ActionTalk::ActionTalk (const Ptr& actor) : Action (false, actor) {}
bool ActionTalk::executeImp (const Ptr& actor) bool ActionTalk::executeImp (const Ptr& actor)
{
if (MWBase::Environment::get().getInputManager ()->getControlSwitch ("playercontrols"))
{ {
MWBase::Environment::get().getDialogueManager()->startDialogue (getTarget()); MWBase::Environment::get().getDialogueManager()->startDialogue (getTarget());
return true; return true;
} }
return false;
}
} }