summaryrefslogtreecommitdiff
path: root/src/net
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/net
parentaab80ddc8f56d6a383182ce5c241e9d94ca27bab (diff)
downloadmv-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.gz
mv-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.bz2
mv-eb3cee0bc68ee576ed0eb429d22c6031f27def07.tar.xz
mv-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.cpp2
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)
{