forked from teamnwah/openmw-tes3coop
17 lines
411 B
C++
17 lines
411 B
C++
|
|
#include "actiontalk.hpp"
|
|
|
|
#include "../mwbase/environment.hpp"
|
|
#include "../mwbase/dialoguemanager.hpp"
|
|
#include "../mwbase/inputmanager.hpp"
|
|
|
|
namespace MWWorld
|
|
{
|
|
ActionTalk::ActionTalk (const Ptr& actor) : Action (false, actor) {}
|
|
|
|
bool ActionTalk::executeImp (const Ptr& actor)
|
|
{
|
|
MWBase::Environment::get().getDialogueManager()->startDialogue (getTarget());
|
|
return true;
|
|
}
|
|
}
|