summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-06-27 19:27:44 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-06-27 19:27:44 +0000
commit4cd69c6a9327108a07d282011c14562e57aa9e86 (patch)
tree32c1008319910385d7c84039be987208d69c1290 /src/player.cpp
parentfc328ac48b9ca8b4fff2878f37cc56795ed25dca (diff)
downloadmana-4cd69c6a9327108a07d282011c14562e57aa9e86.tar.gz
mana-4cd69c6a9327108a07d282011c14562e57aa9e86.tar.bz2
mana-4cd69c6a9327108a07d282011c14562e57aa9e86.tar.xz
mana-4cd69c6a9327108a07d282011c14562e57aa9e86.zip
Equipment window now show all the slots, and adapted visible shirts to head (middle) equipments.
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 830c92aa..847137e0 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -131,7 +131,8 @@ void Player::draw(Graphics *graphics, int offsetX, int offsetY)
graphics->drawImage(playerset[mSex]->get(frame + 18 * dir),
px - 16, py - 32);
- Item *item = mEquipment->getEquipment(3);
+ // Display a shirt if equipped
+ Item *item = mEquipment->getEquipment(8);
if (item)
{
graphics->drawImage(equipmentset->get(frame + 18 * dir),