summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-03-16 00:37:34 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-03-16 00:37:34 +0100
commit786df24ec5d10e4251fa69426c53f9c2e5d545f4 (patch)
tree272779bd871303204bda526bc5b6841bdc8e1928 /src/resources/iteminfo.h
parent001b6f0f7db78bf7987e302a085b9d8469d59f68 (diff)
downloadmana-786df24ec5d10e4251fa69426c53f9c2e5d545f4.tar.gz
mana-786df24ec5d10e4251fa69426c53f9c2e5d545f4.tar.bz2
mana-786df24ec5d10e4251fa69426c53f9c2e5d545f4.tar.xz
mana-786df24ec5d10e4251fa69426c53f9c2e5d545f4.zip
Fixed the attack range handling for both servers.
The attack range is always the default for manaserv, as proper equipment handling is to be added. Anyway, now the proper attack range is handled in tmwAthena and is always set a proper minimum for both protocols.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 50633f71..c7e97b3c 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -163,7 +163,7 @@ class ItemInfo
* Attack action sub-types (bow, sword, ...) are defined in items.xml.
*/
std::string mAttackAction;
- int mAttackRange; /**< Attack range, will be zero if non weapon. */
+ int mAttackRange; /**< Attack range, will be -1 if no weapon. */
// Particle to be shown when weapon attacks
std::string mMissileParticle;