summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-09 22:59:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-09 22:59:16 +0300
commiteb3cee0bc68ee576ed0eb429d22c6031f27def07 (patch)
tree8172ce45a24497942d489d350cc9cdb1340da97c /src/localplayer.h
parentaab80ddc8f56d6a383182ce5c241e9d94ca27bab (diff)
downloadplus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.gz
plus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.bz2
plus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.xz
plus-eb3cee0bc68ee576ed0eb429d22c6031f27def07.zip
Add option to allow automatically attack next target. (disabled by default)
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h3
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;