diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 10:58:58 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 10:58:58 -0600 |
commit | c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b (patch) | |
tree | 709fda8a3974b5e73d4cd4d7e688c544ce03ed96 /src/net/messagein.cpp | |
parent | 86e5e4c5bd29abcd90d21a64fdea7eac73665356 (diff) | |
download | mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.gz mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.bz2 mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.xz mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.zip |
REplace instances of TMW with Mana
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r-- | src/net/messagein.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index 5a2726f6..1e85133f 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -21,7 +21,7 @@ #include "net/messagein.h" -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT #include <enet/enet.h> #else #include <SDL.h> @@ -57,7 +57,7 @@ int MessageIn::readInt16() int value = -1; if (mPos + 2 <= mLength) { -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT uint16_t t; memcpy(&t, mData + mPos, 2); value = (unsigned short) ENET_NET_TO_HOST_16(t); @@ -67,7 +67,7 @@ int MessageIn::readInt16() #else value = (*(Sint16*)(mData + mPos)); #endif -#endif // TMWSERV_SUPPORT +#endif // MANASERV_SUPPORT } mPos += 2; return value; @@ -78,7 +78,7 @@ int MessageIn::readInt32() int value = -1; if (mPos + 4 <= mLength) { -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT uint32_t t; memcpy(&t, mData + mPos, 4); value = ENET_NET_TO_HOST_32(t); @@ -88,7 +88,7 @@ int MessageIn::readInt32() #else value = (*(Sint32*)(mData + mPos)); #endif -#endif // TMWSERV_SUPPORT +#endif // MANASERV_SUPPORT } mPos += 4; return value; |