1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-24 09:39:51 +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) {}
bool ActionTalk::executeImp (const Ptr& actor)
{
if (MWBase::Environment::get().getInputManager ()->getControlSwitch ("playercontrols"))
{
MWBase::Environment::get().getDialogueManager()->startDialogue (getTarget());
return true;
}
return false;
}
}