summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
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);
}