diff options
Diffstat (limited to 'source/Item.h')
-rw-r--r-- | source/Item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Item.h b/source/Item.h index 3b485d3de..15109ab15 100644 --- a/source/Item.h +++ b/source/Item.h @@ -69,7 +69,7 @@ public: short GetMaxDamage(void) const; /// Damages a weapon / tool. Returns true when damage reaches max value and the item should be destroyed - bool DamageItem(void); + bool DamageItem(short a_Amount = 1); inline bool IsDamageable(void) const { return (GetMaxDamage() > 0); } |