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/net | |
parent | aab80ddc8f56d6a383182ce5c241e9d94ca27bab (diff) | |
download | plus-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/net')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 0c928f9fe..a773ef0b1 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -397,7 +397,7 @@ void BeingHandler::processBeingRemove(Net::MessageIn &msg) // If this is player's current target, clear it. if (dstBeing == player_node->getTarget()) - player_node->stopAttack(); + player_node->stopAttack(true); if (msg.readInt8() == 1) { |