aboutsummaryrefslogtreecommitdiff
path: root/src/game/Item.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-10-29 13:29:34 +0100
committerKudlaty <none@none>2009-10-29 13:29:34 +0100
commit38f3016d8717642100515f49c5bb068f70119234 (patch)
treed13f1a24f1f3a3e001ca5fddee6dc075e2d2e39d /src/game/Item.cpp
parent63d703c53c331be85bf926f1604476a0a77f3d0f (diff)
Fix exploit with using fist weapon without that skill. Patch by _krz
--HG-- branch : trunk
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r--src/game/Item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp
index 137d90acafd..8174fe7029b 100644
--- a/src/game/Item.cpp
+++ b/src/game/Item.cpp
@@ -460,7 +460,7 @@ uint32 Item::GetSkill()
{
SKILL_AXES, SKILL_2H_AXES, SKILL_BOWS, SKILL_GUNS, SKILL_MACES,
SKILL_2H_MACES, SKILL_POLEARMS, SKILL_SWORDS, SKILL_2H_SWORDS, 0,
- SKILL_STAVES, 0, 0, SKILL_UNARMED, 0,
+ SKILL_STAVES, 0, 0, SKILL_FIST_WEAPONS, 0,
SKILL_DAGGERS, SKILL_THROWN, SKILL_ASSASSINATION, SKILL_CROSSBOWS, SKILL_WANDS,
SKILL_FISHING
};