summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-24 10:58:58 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-24 10:58:58 -0600
commitc3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b (patch)
tree709fda8a3974b5e73d4cd4d7e688c544ce03ed96 /src/gui/viewport.cpp
parent86e5e4c5bd29abcd90d21a64fdea7eac73665356 (diff)
downloadmana-client-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.gz
mana-client-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.bz2
mana-client-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.xz
mana-client-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.zip
REplace instances of TMW with Mana
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index cf21288c..21a6ec80 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -55,7 +55,7 @@ Viewport::Viewport():
mShowDebugPath(false),
mVisibleNames(false),
mPlayerFollowMouse(false),
-#ifdef TMWSERV_SUPPORT
+#ifdef MANASERV_SUPPORT
mLocalWalkTime(-1)
#else
mWalkTime(0)
@@ -369,7 +369,7 @@ void Viewport::mousePressed(gcn::MouseEvent &event)
// Just walk around
else
{
-#ifdef TMWSERV_SUPPORT
+#ifdef MANASERV_SUPPORT
// FIXME: REALLY UGLY!
Uint8 *keys = SDL_GetKeyState(NULL);
if (!(keys[SDLK_LSHIFT] || keys[SDLK_RSHIFT]) &&
@@ -404,7 +404,7 @@ void Viewport::mouseDragged(gcn::MouseEvent &event)
if (!mMap || !player_node)
return;
-#ifdef TMWSERV_SUPPORT
+#ifdef MANASERV_SUPPORT
if (mPlayerFollowMouse
&& get_elapsed_time(mLocalWalkTime) >= walkingMouseDelay)
{