diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-22 13:12:46 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-22 13:12:46 +0000 |
commit | 09f8e3e9d9c6ca2bc39c3178c4f21b027ac07bcb (patch) | |
tree | 73e0da7b621cebe406e3b456388a4d261f8b170b /src/engine.cpp | |
parent | 00b3b347f845f8b1550777f09464463af3805098 (diff) | |
download | mana-09f8e3e9d9c6ca2bc39c3178c4f21b027ac07bcb.tar.gz mana-09f8e3e9d9c6ca2bc39c3178c4f21b027ac07bcb.tar.bz2 mana-09f8e3e9d9c6ca2bc39c3178c4f21b027ac07bcb.tar.xz mana-09f8e3e9d9c6ca2bc39c3178c4f21b027ac07bcb.zip |
New equipment window layout and some improvements to equip management
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 85c737c9..bed0b1d1 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -390,7 +390,7 @@ void Engine::draw() playerset->spriteset[4 * pf + dir]->draw(screen, being->text_x - 16, being->text_y - 80); if (being->weapon != 0 && being->action == ATTACK) { - weaponset->spriteset[4 * being->frame + dir]->draw(screen, + weaponset->spriteset[16 * (being->weapon - 1) + 4 * being->frame + dir]->draw(screen, being->text_x - 64, being->text_y - 80); } |