diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-09 22:59:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-09 22:59:16 +0300 |
commit | eb3cee0bc68ee576ed0eb429d22c6031f27def07 (patch) | |
tree | 8172ce45a24497942d489d350cc9cdb1340da97c /src/localplayer.h | |
parent | aab80ddc8f56d6a383182ce5c241e9d94ca27bab (diff) | |
download | manaplus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.gz manaplus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.bz2 manaplus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.xz manaplus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.zip |
Add option to allow automatically attack next target. (disabled by default)
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 51d21178c..c02fc21ce 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -142,7 +142,7 @@ class LocalPlayer : public Being, public ActorSpriteListener, int getGMLevel() const { return mGMLevel; } - void stopAttack(); + void stopAttack(bool keepAttack = false); void untarget(); @@ -624,6 +624,7 @@ class LocalPlayer : public Being, public ActorSpriteListener, bool mSyncPlayerMove; bool mDrawPath; bool mAttackMoving; + bool mAttackNext; bool mShowJobExp; int mActivityTime; int mNavigateX; |