mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
17 lines
319 B
C++
17 lines
319 B
C++
|
|
#include "actiontalk.hpp"
|
|
|
|
#include "environment.hpp"
|
|
|
|
#include "../mwgui/window_manager.hpp"
|
|
|
|
namespace MWWorld
|
|
{
|
|
ActionTalk::ActionTalk (const Ptr& actor) : mActor (actor) {}
|
|
|
|
void ActionTalk::execute (Environment& environment)
|
|
{
|
|
environment.mWindowManager->setMode (MWGui::GM_Dialogue);
|
|
}
|
|
}
|