diff options
author | Paul Gilbert | 2018-03-28 21:53:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-28 21:53:59 -0400 |
commit | fc03c1e71cef6e50e8e809452f0af94d75643ac3 (patch) | |
tree | 6939566b549b1628c0a9719e0da0c64d2dcf6164 /engines/xeen/item.h | |
parent | 78db92eb33dbc5fd0a32399294d9ba67690c4bd4 (diff) | |
download | scummvm-rg350-fc03c1e71cef6e50e8e809452f0af94d75643ac3.tar.gz scummvm-rg350-fc03c1e71cef6e50e8e809452f0af94d75643ac3.tar.bz2 scummvm-rg350-fc03c1e71cef6e50e8e809452f0af94d75643ac3.zip |
XEEN: Don't allow dismissing characters holding Elder weapons in Swords
Diffstat (limited to 'engines/xeen/item.h')
-rw-r--r-- | engines/xeen/item.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/xeen/item.h b/engines/xeen/item.h index a37e6597b0..0fcfa92f44 100644 --- a/engines/xeen/item.h +++ b/engines/xeen/item.h @@ -205,6 +205,11 @@ public: * Enchants a weapon */ virtual void enchantItem(int itemIndex, int amount); + + /** + * Returns true if the character has an Elder weapon in Swords of Xeen + */ + bool hasElderWeapon() const; }; class ArmorItems : public InventoryItems { |