summaryrefslogtreecommitdiff
path: root/src/net/protocol.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 12:28:42 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 12:28:42 +0000
commit2c4d4ecc19fc8308b2772e4ffe6570ca362264d1 (patch)
treea4b6d78a89bfd12b3667129bd0bae63a805682cd /src/net/protocol.cpp
parentcf0f74488b0f2057bc535774dc6a2c871311932f (diff)
downloadmana-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.cpp4
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)