summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
commit448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch)
tree35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/being/localplayer.cpp
parent9993fbc1d1bec556143d974f148869e1fb4c6307 (diff)
downloadmv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip
Add some missing tmwa defines.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 62f30a015..af020d7ea 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1638,6 +1638,7 @@ void LocalPlayer::specialMove(const unsigned char direction)
}
}
+#ifdef TMWA_SUPPORT
void LocalPlayer::magicAttack() const
{
if (Net::getNetworkType() != ServerType::TMWATHENA)
@@ -1693,6 +1694,7 @@ void LocalPlayer::tryMagic(const std::string &spell, const int baseMagic,
}
}
}
+#endif
void LocalPlayer::loadHomes()
{