aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index b4871ff61..37482ba91 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -70,10 +70,17 @@ void * ClientUpdateThread::Thread()
return NULL;
}
-Client::Client(IrrlichtDevice *device,
- const char *playername):
+Client::Client(
+ IrrlichtDevice *device,
+ const char *playername,
+ JMutex &range_mutex,
+ s16 &viewing_range_nodes,
+ bool &viewing_range_all):
m_thread(this),
m_env(new ClientMap(this,
+ range_mutex,
+ viewing_range_nodes,
+ viewing_range_all,
device->getSceneManager()->getRootSceneNode(),
device->getSceneManager(), 666),
dout_client),