Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
322 B
Raw Blame
#include "actionapply.hpp"

#include "class.hpp"

namespace MWWorld
{
    ActionApply::ActionApply(const Ptr& object, const ESM::RefId& id)
        : Action(false, object)
        , mId(id)
    {
    }

    void ActionApply::executeImp(const Ptr& actor)
    {
        actor.getClass().consume(getTarget(), actor);
    }
}