summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-24 23:08:40 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-24 23:08:40 +0200
commit4cd7505ed872a959a587f738c5b77a3c1585025f (patch)
tree8a9dbbdcb1bcb4d970e4ae9e80c4ea61d3405613 /src/localplayer.cpp
parent4ecb9b5bc6bbc49296bccc9004d563fb0e33a5a1 (diff)
downloadmv-4cd7505ed872a959a587f738c5b77a3c1585025f.tar.gz
mv-4cd7505ed872a959a587f738c5b77a3c1585025f.tar.bz2
mv-4cd7505ed872a959a587f738c5b77a3c1585025f.tar.xz
mv-4cd7505ed872a959a587f738c5b77a3c1585025f.zip
Add rock knife as auto equip knife.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 3ce1ae7a9..438d978c4 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1778,6 +1778,9 @@ void LocalPlayer::changeEquipmentBeforeAttack(Being* target)
item = PlayerInfo::getInventory()->findItem(570);
if (!item)
+ item = PlayerInfo::getInventory()->findItem(579);
+
+ if (!item)
item = PlayerInfo::getInventory()->findItem(536);
//no swords