summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9ca58461..427f70b6 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -748,14 +748,10 @@ void Game::handleInput()
{
case KeyboardConfig::KEY_PICKUP:
{
-#ifdef MANASERV_SUPPORT
const Vector &pos = player_node->getPosition();
Uint16 x = (int) pos.x / 32;
Uint16 y = (int) pos.y / 32;
-#else
- Uint16 x = player_node->getTileX();
- Uint16 y = player_node->getTileY();
-#endif
+
FloorItem *item =
floorItemManager->findByCoordinates(x, y);