2010-08-06 18:15:46 +02:00
|
|
|
#include "actiontalk.hpp"
|
|
|
|
|
2012-04-23 15:27:03 +02:00
|
|
|
#include "../mwbase/environment.hpp"
|
2017-09-25 21:38:38 +02:00
|
|
|
#include "../mwbase/windowmanager.hpp"
|
2010-08-06 18:15:46 +02:00
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
2012-09-04 15:38:21 +02:00
|
|
|
ActionTalk::ActionTalk (const Ptr& actor) : Action (false, actor) {}
|
2010-08-06 18:15:46 +02:00
|
|
|
|
2012-07-27 12:00:10 +02:00
|
|
|
void ActionTalk::executeImp (const Ptr& actor)
|
2010-08-06 18:15:46 +02:00
|
|
|
{
|
2017-09-25 21:38:38 +02:00
|
|
|
MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Dialogue, getTarget());
|
2010-08-06 18:15:46 +02:00
|
|
|
}
|
|
|
|
}
|