From 80792e881942a1cdbc10050177df888bbad44a9e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Nov 2017 23:40:50 +0300 Subject: Add npc option for allow equipment. New option: allowEquipment Default value: false --- src/resources/beinginfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/beinginfo.cpp') diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 6c082d85f..6e28e37be 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -106,7 +106,8 @@ BeingInfo::BeingInfo() : mQuickActionEffectId(-1), mStaticMaxHP(false), mTargetSelection(true), - mAllowDelete(true) + mAllowDelete(true), + mAllowEquipment(false) { SpriteDisplay display; display.sprites.push_back(SpriteReference::Empty); -- cgit v1.2.3-70-g09d2