aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
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)
{