From e139135fdc76e7eada4d3d00acfe667048b65b19 Mon Sep 17 00:00:00 2001 From: Zackhasacat Date: Sat, 2 Sep 2023 15:16:41 -0500 Subject: [PATCH] Revert unneeded changes --- apps/openmw/mwlua/types/npc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwlua/types/npc.cpp b/apps/openmw/mwlua/types/npc.cpp index 7e8958e6c5..761afcc881 100644 --- a/apps/openmw/mwlua/types/npc.cpp +++ b/apps/openmw/mwlua/types/npc.cpp @@ -1,9 +1,9 @@ #include "types.hpp" #include "actor.hpp" + #include #include -#include "apps/openmw/mwworld/worldmodel.hpp" #include #include #include @@ -50,7 +50,7 @@ namespace MWLua record["isMale"] = sol::readonly_property([](const ESM::NPC& rec) -> bool { return rec.isMale(); }); record["baseGold"] = sol::readonly_property([](const ESM::NPC& rec) -> int { return rec.mNpdt.mGold; }); addActorServicesBindings(record, context); - // This function is game-specific, in future we should replace it with something more universal. + // This function is game-specific, in future we should replace it with something more universal. npc["isWerewolf"] = [](const Object& o) { const MWWorld::Class& cls = o.ptr().getClass(); if (cls.isNpc())