summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2008-02-12 19:49:37 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2008-02-12 19:49:37 +0000
commit79dfa4db0cc7d307fe52f1959a30f117efacaa00 (patch)
treec44cd018b8f9f320fb2a1f0c8aed47a24ac14e2b /src/gui
parent34e9c3e9125ef800ef47e2594cf23853deddccfb (diff)
downloadmana-79dfa4db0cc7d307fe52f1959a30f117efacaa00.tar.gz
mana-79dfa4db0cc7d307fe52f1959a30f117efacaa00.tar.bz2
mana-79dfa4db0cc7d307fe52f1959a30f117efacaa00.tar.xz
mana-79dfa4db0cc7d307fe52f1959a30f117efacaa00.zip
Made pathfinding not halt on collision destination tile, made moving around with mouse smoother. Added possibility to pass through players with key controls.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index d99b48ba..3a297f66 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -423,7 +423,7 @@ Viewport::mousePressed(gcn::MouseEvent &event)
player_node->pickUp(item);
}
// Just walk around
- else if (mMap->getWalk(tilex, tiley))
+ else
{
// XXX XXX XXX REALLY UGLY!
Uint8 *keys = SDL_GetKeyState(NULL);