mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 21:49:56 +00:00
16 lines
358 B
C++
16 lines
358 B
C++
#include "actiondoor.hpp"
|
|
|
|
#include "../mwbase/environment.hpp"
|
|
#include "../mwbase/world.hpp"
|
|
|
|
namespace MWWorld
|
|
{
|
|
ActionDoor::ActionDoor (const MWWorld::Ptr& object) : Action (false, object)
|
|
{
|
|
}
|
|
|
|
void ActionDoor::executeImp (const MWWorld::Ptr& actor)
|
|
{
|
|
MWBase::Environment::get().getWorld()->activateDoor(getTarget());
|
|
}
|
|
}
|