diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-24 23:08:40 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-24 23:08:40 +0200 |
commit | 4cd7505ed872a959a587f738c5b77a3c1585025f (patch) | |
tree | 8a9dbbdcb1bcb4d970e4ae9e80c4ea61d3405613 /src/localplayer.cpp | |
parent | 4ecb9b5bc6bbc49296bccc9004d563fb0e33a5a1 (diff) | |
download | mv-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.cpp | 3 |
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 |