summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-26 15:24:21 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-26 15:25:08 -0700
commit692aac3122843c59610684802e25b92cc9f0a33c (patch)
tree6e889f5a53e116998e031291d1c0e2ff653c6493 /src/game.cpp
parentfed093879282fac03c4fdcaa0aac519de468f1e1 (diff)
downloadmana-692aac3122843c59610684802e25b92cc9f0a33c.tar.gz
mana-692aac3122843c59610684802e25b92cc9f0a33c.tar.bz2
mana-692aac3122843c59610684802e25b92cc9f0a33c.tar.xz
mana-692aac3122843c59610684802e25b92cc9f0a33c.zip
Fix a few more _SUPPORT ifdefs and namespace PartyTab
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);