diff options
author | David Athay <ko2fan@gmail.com> | 2009-05-18 18:18:23 +0100 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2009-05-18 18:18:23 +0100 |
commit | 72660d2c33773f0f74663efe6f9ac47648cdf283 (patch) | |
tree | e21d5a283eefaa5767d942f602c718eae42cbd4a /src/net/ea/playerhandler.cpp | |
parent | e7df8c9dd7ebc14c1263c19c6a238ebcf4fd9465 (diff) | |
download | mana-72660d2c33773f0f74663efe6f9ac47648cdf283.tar.gz mana-72660d2c33773f0f74663efe6f9ac47648cdf283.tar.bz2 mana-72660d2c33773f0f74663efe6f9ac47648cdf283.tar.xz mana-72660d2c33773f0f74663efe6f9ac47648cdf283.zip |
Added target combat
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index b7131f0a..8cc4b44f 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -422,10 +422,10 @@ void PlayerHandler::handleMessage(MessageIn &msg) } } -void PlayerHandler::attack(Being *being) +void PlayerHandler::attack(int id) { MessageOut outMsg(CMSG_PLAYER_ATTACK); - outMsg.writeInt32(being->getId()); + outMsg.writeInt32(id); outMsg.writeInt8(0); } |