summaryrefslogtreecommitdiff
path: root/src/net/tmwa/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/network.h')
-rw-r--r--src/net/tmwa/network.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwa/network.h b/src/net/tmwa/network.h
index 2c19c218..b82d07b3 100644
--- a/src/net/tmwa/network.h
+++ b/src/net/tmwa/network.h
@@ -22,6 +22,8 @@
#ifndef NET_TA_NETWORK_H
#define NET_TA_NETWORK_H
+#include "utils/mutex.h"
+
#include "net/serverinfo.h"
#include "net/tmwa/messagehandler.h"
@@ -116,7 +118,7 @@ class Network
std::string mError;
SDL_Thread *mWorkerThread;
- SDL_mutex *mMutex;
+ Mutex mMutex;
typedef std::map<Uint16, MessageHandler*> MessageHandlers;
typedef MessageHandlers::iterator MessageHandlerIterator;