From 09f8e3e9d9c6ca2bc39c3178c4f21b027ac07bcb Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Fri, 22 Apr 2005 13:12:46 +0000 Subject: New equipment window layout and some improvements to equip management --- src/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine.cpp') 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); } -- cgit v1.2.3-70-g09d2