summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r--src/net/messagein.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index 6a5adbe1..5f1e96b7 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -20,6 +20,7 @@
*/
#include "net/messagein.h"
+#include "net/net.h"
#define MAKEWORD(low,high) \
((unsigned short)(((unsigned char)(low)) | \
@@ -97,6 +98,12 @@ void MessageIn::readCoordinates(Uint16 &x, Uint16 &y, Uint8 &direction)
case 7:
direction = 9;
break;
+ case 8:
+ if (Net::getNetworkType() == ServerInfo::TMWATHENA)
+ {
+ direction = 8;
+ break;
+ }
default:
// OOPSIE! Impossible or unknown
direction = 0;