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:
parent
df8e502f8c
commit
373de19aee
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue