mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:19:56 +00:00
2ce79e07a4
- Fix memory leaks in DialogueWindow - Fix Link objects being deleted from their own event handler
14 lines
364 B
C++
14 lines
364 B
C++
#include "actiontalk.hpp"
|
|
|
|
#include "../mwbase/environment.hpp"
|
|
#include "../mwbase/windowmanager.hpp"
|
|
|
|
namespace MWWorld
|
|
{
|
|
ActionTalk::ActionTalk (const Ptr& actor) : Action (false, actor) {}
|
|
|
|
void ActionTalk::executeImp (const Ptr& actor)
|
|
{
|
|
MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Dialogue, getTarget());
|
|
}
|
|
}
|