summaryrefslogtreecommitdiff
path: root/src/net/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/protocol.cpp')
-rw-r--r--src/net/protocol.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp
index 5de1b0cf..f31d4a39 100644
--- a/src/net/protocol.cpp
+++ b/src/net/protocol.cpp
@@ -26,17 +26,6 @@
#define LOBYTE(w) ((unsigned char)(w))
#define HIBYTE(w) ((unsigned char)(((unsigned short)(w)) >> 8))
-unsigned char get_src_direction(char data)
-{
- data >>= 4;
- return data;
-}
-
-unsigned char get_dest_direction(char data)
-{
- return data & 0x000f;
-}
-
void set_coordinates(char *data,
unsigned short x,
unsigned short y,