Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-08-06 16:43:32 +0000
committerStijn Buys <ingar@osirion.org>2008-08-06 16:43:32 +0000
commit6979c74625d51897d99797b309974c2ee82a024b (patch)
tree812f652254672ef016deb96239d6a5c5b98a8801 /src/core/netconnection.cc
parent668026125ae19b9bd800004ae9ec0510f20753ad (diff)
every player within 1024 game units is drawn as target
Diffstat (limited to 'src/core/netconnection.cc')
-rw-r--r--src/core/netconnection.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc
index 3b302dd..0b33652 100644
--- a/src/core/netconnection.cc
+++ b/src/core/netconnection.cc
@@ -451,7 +451,7 @@ void NetConnection::parse_incoming_message(const std::string & message)
} else if (command == "die") {
unsigned int id;
if (msgstream >> id) {
- con_debug << "Received die entity id " << id << std::endl;
+ //con_debug << "Received die entity id " << id << std::endl;
Entity *e = Entity::find(id);
if (localcontrol() == e)
localplayer()->set_control(0);
@@ -470,7 +470,7 @@ void NetConnection::parse_incoming_message(const std::string & message)
con_warn << "Received create for NULL entity!" << std::endl;
return;
}
- con_debug << "Received create entity id " << id << " type " << type << std::endl;
+ //con_debug << "Received create entity id " << id << " type " << type << std::endl;
Entity *entity = Entity::find(id);
@@ -508,7 +508,7 @@ void NetConnection::parse_incoming_message(const std::string & message)
std::string label;
if (msgstream >> id) {
if (id) {
- con_debug << "Received zone " << id << std::endl;
+ //con_debug << "Received zone " << id << std::endl;
Zone * zone = Zone::find(id);
// create the zone if necessary
@@ -525,12 +525,12 @@ void NetConnection::parse_incoming_message(const std::string & message)
}
} else if (command == "pif") {
- con_debug << "Received update player info" << std::endl;
+ //con_debug << "Received update player info" << std::endl;
Zone *oldzone = connection()->localplayer()->zone();
connection()->localplayer()->receive_server_update(msgstream);
- con_debug << "zone " << ( connection()->localplayer()->zone() ? connection()->localplayer()->zone()->id() : 0) << std::endl;
+ //con_debug << "zone " << ( connection()->localplayer()->zone() ? connection()->localplayer()->zone()->id() : 0) << std::endl;
if (connection()->localplayer()->zonechange() && oldzone && (oldzone != connection()->localplayer()->zone())) {