From d3cba1c4beac4a1c98f38bbca076a98f9c90bbc4 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sun, 27 Aug 2006 11:21:10 +0000 Subject: Changed to pixel-based coordinates for beings. --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 0e200db3..a3ec299b 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -313,7 +313,7 @@ Gui::mousePress(int mx, int my, int button) Uint8 *keys = SDL_GetKeyState(NULL); if (!(keys[SDLK_LSHIFT] || keys[SDLK_RSHIFT])) { - player_node->setDestination(tilex, tiley); + player_node->setDestination(tilex * 32 + 16, tiley * 32 + 16); player_node->stopAttack(); } } -- cgit v1.2.3-70-g09d2