|
|
|
@ -51,7 +51,7 @@ namespace
|
|
|
|
|
namespace MWClass
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
class CreatureCustomData : public MWWorld::CustomData
|
|
|
|
|
class CreatureCustomData : public MWWorld::TypedCustomData<CreatureCustomData>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MWMechanics::CreatureStats mCreatureStats;
|
|
|
|
@ -62,8 +62,6 @@ namespace MWClass
|
|
|
|
|
CreatureCustomData(const CreatureCustomData& other);
|
|
|
|
|
CreatureCustomData(CreatureCustomData&& other) noexcept = default;
|
|
|
|
|
|
|
|
|
|
std::unique_ptr<MWWorld::CustomData> clone() const override;
|
|
|
|
|
|
|
|
|
|
CreatureCustomData& asCreatureCustomData() override
|
|
|
|
|
{
|
|
|
|
|
return *this;
|
|
|
|
@ -81,11 +79,6 @@ namespace MWClass
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::unique_ptr<MWWorld::CustomData> CreatureCustomData::clone() const
|
|
|
|
|
{
|
|
|
|
|
return std::make_unique<CreatureCustomData>(*this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const Creature::GMST& Creature::getGmst()
|
|
|
|
|
{
|
|
|
|
|
static GMST gmst;
|
|
|
|
|