summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-07-15 21:29:07 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-07-15 21:29:07 +0000
commit81aee6c4c85649793d9cf38f5a5bc1bdfffdd78e (patch)
treecce1529b567a15ee1c888dd9efc3e18a1b139c71 /src/engine.cpp
parent2723b8680ac1c56aff73e775256b36ca0a88a3e9 (diff)
downloadmana-81aee6c4c85649793d9cf38f5a5bc1bdfffdd78e.tar.gz
mana-81aee6c4c85649793d9cf38f5a5bc1bdfffdd78e.tar.bz2
mana-81aee6c4c85649793d9cf38f5a5bc1bdfffdd78e.tar.xz
mana-81aee6c4c85649793d9cf38f5a5bc1bdfffdd78e.zip
- Adding joypad tolerance to config file
- Trying to put updates in the data folder (is this the right way?)
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 2ee6406f..f0902bb0 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -416,8 +416,9 @@ void Engine::draw()
being->text_x - 16, being->text_y - 32);
if (being->weapon != 0 && being->action == ATTACK) {
- weaponset->spriteset[16 * (being->weapon - 1) + 4 * being->frame + dir]->draw(screen,
- being->text_x - 64, being->text_y - 80);
+ weaponset->spriteset[16 * (being->weapon - 1) + 4 *
+ being->frame + dir]->draw(screen,
+ being->text_x - 64, being->text_y - 80);
}
if (being->getHairColor() <= NR_HAIR_COLORS) {