summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-06 21:10:20 +0100
committerHaru <haru@dotalux.com>2016-03-06 21:10:20 +0100
commita3ad5b4d9fe01b5a17999078bc1cb566c6f5c813 (patch)
treed67d1076d0aa36df8a412691d47a17a4391e9184 /src/common/mmo.h
parentdbebf2dcaaabd65b20722becdf7b4bb3ee682688 (diff)
parent4f6b2ebd825282937015efabbd35fc2cc6d992db (diff)
downloadhercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.tar.gz
hercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.tar.bz2
hercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.tar.xz
hercules-a3ad5b4d9fe01b5a17999078bc1cb566c6f5c813.zip
Merge pull request #1189 from 4144/itemdbview
Check allowed range for "View" field in item_db for weapon items.
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 77b9abab6..8818ea9df 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -971,7 +971,7 @@ enum weapon_type {
W_GRENADE, //21
W_HUUMA, //22
W_2HSTAFF, //23
- MAX_WEAPON_TYPE,
+ MAX_SINGLE_WEAPON_TYPE,
// dual-wield constants
W_DOUBLE_DD, ///< 2 daggers
W_DOUBLE_SS, ///< 2 swords
@@ -979,6 +979,7 @@ enum weapon_type {
W_DOUBLE_DS, ///< dagger + sword
W_DOUBLE_DA, ///< dagger + axe
W_DOUBLE_SA, ///< sword + axe
+ MAX_WEAPON_TYPE,
};
enum ammo_type {