summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-11-08 23:40:50 +0300
committerAndrei Karas <akaras@inbox.ru>2017-11-08 23:40:50 +0300
commit80792e881942a1cdbc10050177df888bbad44a9e (patch)
tree2477945c0a6d3bc50c46fd9aeb9d52d87d5b52d1 /src/resources/beinginfo.cpp
parent7ca06be4b1a8dab21d21ddbab078ef7fed8cd1f8 (diff)
downloadplus-80792e881942a1cdbc10050177df888bbad44a9e.tar.gz
plus-80792e881942a1cdbc10050177df888bbad44a9e.tar.bz2
plus-80792e881942a1cdbc10050177df888bbad44a9e.tar.xz
plus-80792e881942a1cdbc10050177df888bbad44a9e.zip
Add npc option for allow equipment.
New option: allowEquipment Default value: false
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp3
1 files changed, 2 insertions, 1 deletions
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);