summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
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.h
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.h')
-rw-r--r--src/being/localplayer.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 50ef31052..cfbdf4285 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -204,7 +204,9 @@ class LocalPlayer final : public Being,
void tryPingRequest();
+#ifdef TMWA_SUPPORT
void magicAttack() const;
+#endif
void specialMove(const unsigned char direction);
@@ -441,8 +443,12 @@ class LocalPlayer final : public Being,
void changeEquipmentBeforeAttack(const Being *const target) const;
- static void tryMagic(const std::string &spell, const int baseMagic,
- const int schoolMagic, const int mana);
+#ifdef TMWA_SUPPORT
+ static void tryMagic(const std::string &spell,
+ const int baseMagic,
+ const int schoolMagic,
+ const int mana);
+#endif
void loadHomes();