diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-08-09 18:48:57 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-08-09 18:50:07 -0600 |
commit | fa2cf9bea837e17d08218d0070a60905adec268f (patch) | |
tree | 0166e7394455e005423dc539e6516b9e3483ff94 /src/net/manaserv/connection.cpp | |
parent | 4f5f84e1687e75fe7e80f0f31316b6efe2feae49 (diff) | |
download | mana-fa2cf9bea837e17d08218d0070a60905adec268f.tar.gz mana-fa2cf9bea837e17d08218d0070a60905adec268f.tar.bz2 mana-fa2cf9bea837e17d08218d0070a60905adec268f.tar.xz mana-fa2cf9bea837e17d08218d0070a60905adec268f.zip |
Fix enet version check *again*
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/net/manaserv/connection.cpp')
-rw-r--r-- | src/net/manaserv/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/connection.cpp b/src/net/manaserv/connection.cpp index 3978a0d8..b404191f 100644 --- a/src/net/manaserv/connection.cpp +++ b/src/net/manaserv/connection.cpp @@ -60,7 +60,7 @@ bool Connection::connect(const std::string &address, short port) enetAddress.port = port; // Initiate the connection, allocating channel 0. -#if defined(ENET_VERSION) && ENET_VERSION >= ENET_VERSION_CREATE(1,3,0) +#if defined(ENET_VERSION) && ENET_VERSION >= ENET_CUTOFF mConnection = enet_host_connect(mClient, &enetAddress, 1, 0); #else mConnection = enet_host_connect(mClient, &enetAddress, 1); |