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:
parent
df8e502f8c
commit
373de19aee
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user