diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
commit | 448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch) | |
tree | 35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/being/localplayer.h | |
parent | 9993fbc1d1bec556143d974f148869e1fb4c6307 (diff) | |
download | manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2 manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip |
Add some missing tmwa defines.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 10 |
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(); |