diff options
author | Bertram <bertram@cegetel.net> | 2010-02-09 02:07:14 +0100 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2010-02-09 02:07:14 +0100 |
commit | aa0325fac0f16ced4ac710b5126da5bc5c2af441 (patch) | |
tree | d00a3f3c3d3cf09ea76886938bb47a3bee57f110 /src/net/manaserv/playerhandler.cpp | |
parent | 56f501c8148b1061a02547d37b20eeeeb64029db (diff) | |
download | mana-aa0325fac0f16ced4ac710b5126da5bc5c2af441.tar.gz mana-aa0325fac0f16ced4ac710b5126da5bc5c2af441.tar.bz2 mana-aa0325fac0f16ced4ac710b5126da5bc5c2af441.tar.xz mana-aa0325fac0f16ced4ac710b5126da5bc5c2af441.zip |
Separated fallback defaults for tile width and height.
Diffstat (limited to 'src/net/manaserv/playerhandler.cpp')
-rw-r--r-- | src/net/manaserv/playerhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp index 007aa93f..042e0284 100644 --- a/src/net/manaserv/playerhandler.cpp +++ b/src/net/manaserv/playerhandler.cpp @@ -54,12 +54,12 @@ extern Window *buySellDialog; extern const int MILLISECONDS_IN_A_TICK; /** @see in map.cpp */ -extern const int DEFAULT_TILE_SIDE_LENGTH; +extern const int DEFAULT_TILE_WIDTH; /* 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 * DEFAULT_TILE_SIDE_LENGTH; +static const int MAP_TELEPORT_SCROLL_DISTANCE = 8 * DEFAULT_TILE_WIDTH; /** * Listener used for handling the overweigth message. |