mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-18 13:20:47 +00:00
Fix line
This commit is contained in:
parent
1db236b5fd
commit
ecc69b5479
@ -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<ESM::NPC>(record, context);
|
||||
|
||||
|
||||
// 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user