From eb3cee0bc68ee576ed0eb429d22c6031f27def07 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 May 2012 22:59:16 +0300 Subject: Add option to allow automatically attack next target. (disabled by default) --- src/localplayer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/localplayer.h') 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; -- cgit v1.2.3-60-g2f50