summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-06-22 18:51:36 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-06-22 18:51:36 +0200
commitec3c689c64922baf4a9f99bc6e9345e0a80403e8 (patch)
tree7d8a17271650f199e7f90b47a4f40532b28de25d /src/net/tmwa/playerhandler.cpp
parent2e08f723375023e203654381b2a49d63c9565824 (diff)
downloadMana-ec3c689c64922baf4a9f99bc6e9345e0a80403e8.tar.gz
Mana-ec3c689c64922baf4a9f99bc6e9345e0a80403e8.tar.bz2
Mana-ec3c689c64922baf4a9f99bc6e9345e0a80403e8.tar.xz
Mana-ec3c689c64922baf4a9f99bc6e9345e0a80403e8.zip
Applied fixes requested by cody.
- Made the map teleport distance fixed for manaserv. - Small cleanups. The branch is considered reviewed by: Cody. Resolves Mana-Mantis: #74.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index ab63cc1d..f30baecd 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -50,7 +50,7 @@ extern OkDialog *deathNotice;
// Max. distance we are willing to scroll after a teleport;
// everything beyond will reset the port hard.
-static const int MAP_TELEPORT_SCROLL_DISTANCE = 8;
+const int MAP_TELEPORT_SCROLL_DISTANCE = 8;
// TODO Move somewhere else
namespace {