summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-01 18:23:58 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-01 18:23:58 +0200
commitee0d3bacbce612c1abc6016cb7b0d684df25b820 (patch)
treec11c0960cd3a70a795d089c0d2cf3592d4c68fb7 /src/client.cpp
parent9dcfa882b13cdbe38b66fc1b61643da74f112342 (diff)
downloadminetest-ee0d3bacbce612c1abc6016cb7b0d684df25b820.tar.gz
minetest-ee0d3bacbce612c1abc6016cb7b0d684df25b820.tar.bz2
minetest-ee0d3bacbce612c1abc6016cb7b0d684df25b820.zip
Player-is-SAO WIP
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index fee219942..a165627e5 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -205,7 +205,7 @@ Client::Client(
device->getSceneManager()->getRootSceneNode(),
device->getSceneManager(), 666),
device->getSceneManager(),
- tsrc, this
+ tsrc, this, device
),
m_con(PROTOCOL_ID, 512, CONNECTION_TIMEOUT, this),
m_device(device),
@@ -1010,6 +1010,8 @@ void Client::ProcessData(u8 *data, u32 datasize, u16 sender_peer_id)
}
else if(command == TOCLIENT_PLAYERINFO)
{
+ infostream<<"Client received DEPRECATED TOCLIENT_PLAYERINFO"<<std::endl;
+#if 0
u16 our_peer_id;
{
//JMutexAutoLock lock(m_con_mutex); //bulk comment-out
@@ -1111,6 +1113,7 @@ void Client::ProcessData(u8 *data, u32 datasize, u16 sender_peer_id)
m_env.removePlayer((*ip)->peer_id);
}
} //envlock
+#endif
}
else if(command == TOCLIENT_SECTORMETA)
{