summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 775c875f9..feb686740 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -1097,6 +1097,9 @@ class Being notfinal : public ActorSprite,
void fixDirectionOffsets(int &offsetX,
int &offsetY) const;
+ bool getAllowNpcEquipment() const noexcept2 A_WARN_UNUSED
+ { return mAllowNpcEquipment; }
+
static Being *createBeing(const BeingId id,
const ActorTypeT type,
const BeingTypeId subtype,
@@ -1377,6 +1380,7 @@ class Being notfinal : public ActorSprite,
bool mInactive;
bool mNeedPosUpdate;
bool mBotAi;
+ bool mAllowNpcEquipment;
};
extern std::list<BeingCacheEntry*> beingInfoCache;