diff options
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 0a3b20c61..afea431ee 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -256,6 +256,12 @@ class ItemInfo final bool isRemoveItemId(int id) const A_WARN_UNUSED; + void setPet(const int pet) + { mPet = pet; } + + int getPet() const + { return mPet; } + /** Effects to be shown when weapon attacks - see also effects.xml */ std::string mMissileParticleFile; @@ -331,6 +337,7 @@ class ItemInfo final int mMissEffectId; int maxFloorOffset; Cursor::Cursor mPickupCursor; + int mPet; }; #endif |