aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-26 13:33:20 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-26 13:33:20 +0200
commit4ba5cd580d86710b54f4b523db4e8710fb56fdb6 (patch)
tree9812d18cefca537bfecc2f633046f1b45dc0ed77 /src/client.cpp
parent582af0cb212a5bb522356657c89b643501935230 (diff)
downloadhax-minetest-server-4ba5cd580d86710b54f4b523db4e8710fb56fdb6.tar.gz
hax-minetest-server-4ba5cd580d86710b54f4b523db4e8710fb56fdb6.zip
drawing range updater update and myrand() (but not usage of it)
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d43b97a3c..af2b375f4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -66,14 +66,9 @@ void * ClientUpdateThread::Thread()
Client::Client(
IrrlichtDevice *device,
const char *playername,
- JMutex &range_mutex,
- float &viewing_range_nodes,
- bool &viewing_range_all):
+ MapDrawControl &control):
m_thread(this),
- m_env(new ClientMap(this,
- range_mutex,
- viewing_range_nodes,
- viewing_range_all,
+ m_env(new ClientMap(this, control,
device->getSceneManager()->getRootSceneNode(),
device->getSceneManager(), 666),
dout_client),