diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-19 12:28:42 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-19 12:28:42 +0000 |
commit | 2c4d4ecc19fc8308b2772e4ffe6570ca362264d1 (patch) | |
tree | a4b6d78a89bfd12b3667129bd0bae63a805682cd /src/net/protocol.cpp | |
parent | cf0f74488b0f2057bc535774dc6a2c871311932f (diff) | |
download | mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.gz mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.bz2 mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.xz mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.zip |
Got rid of writeSet() calls.
Diffstat (limited to 'src/net/protocol.cpp')
-rw-r--r-- | src/net/protocol.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp index 318c446d..b56745fa 100644 --- a/src/net/protocol.cpp +++ b/src/net/protocol.cpp @@ -86,7 +86,6 @@ void map_start() outMsg.writeLong(session_ID1); outMsg.writeLong(session_ID2); outMsg.writeByte(sex); - writeSet(19); // Skip a mysterious 4 bytes while ((in_size < 4)|| (out_size > 0)) flush(); @@ -118,7 +117,6 @@ void map_start() // TODO: be able to reuse the same msg MessageOut newMsg; newMsg.writeShort(0x007d); - writeSet(2); } void walk(unsigned short x, unsigned short y, unsigned char direction) @@ -128,7 +126,6 @@ void walk(unsigned short x, unsigned short y, unsigned char direction) set_coordinates(temp, x, y, direction); outMsg.writeShort(0x0085); outMsg.writeString(temp, 3); - writeSet(5); } void action(char type, int id) @@ -137,7 +134,6 @@ void action(char type, int id) outMsg.writeShort(0x0089); outMsg.writeLong(id); outMsg.writeByte(type); - writeSet(7); } Being* attack(unsigned short x, unsigned short y, unsigned char direction) |