diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-01-10 20:47:59 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-10 20:48:37 +0000 |
commit | 4c6165ece76dff406d324c240a7fc099a3e0c42b (patch) | |
tree | ceff7fbaa928d2397552c34e51210a419e630a41 /src/net/manaserv/gamehandler.cpp | |
parent | 023ca895db6aaf1c4ed5a2240cf85443f83e84db (diff) | |
download | mana-client-4c6165ece76dff406d324c240a7fc099a3e0c42b.tar.gz mana-client-4c6165ece76dff406d324c240a7fc099a3e0c42b.tar.bz2 mana-client-4c6165ece76dff406d324c240a7fc099a3e0c42b.tar.xz mana-client-4c6165ece76dff406d324c240a7fc099a3e0c42b.zip |
Remove some support ifdefs
Diffstat (limited to 'src/net/manaserv/gamehandler.cpp')
-rw-r--r-- | src/net/manaserv/gamehandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/manaserv/gamehandler.cpp b/src/net/manaserv/gamehandler.cpp index 51b9d1c9..700d2d6c 100644 --- a/src/net/manaserv/gamehandler.cpp +++ b/src/net/manaserv/gamehandler.cpp @@ -26,6 +26,7 @@ #include "net/manaserv/messageout.h" #include "net/manaserv/protocol.h" +#include "localplayer.h" #include "main.h" extern Net::GameHandler *gameHandler; @@ -113,6 +114,9 @@ void GameHandler::inGame() gameServerConnection->send(msg); chatHandler->connect(); + + // Attack range from item DB + player_node->setAttackRange(-1); } void GameHandler::mapLoaded(const std::string &mapName) |