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-07-24 10:18:18 +0000
committerStijn Buys <ingar@osirion.org>2008-07-24 10:18:18 +0000
commit5e3619aa3725833877f66c85977042130fc88c43 (patch)
tree70cc2db52ad60509bf092921de4426de59563aac /src/core/netserver.cc
parentaaa4ff61f7b17759c4f4ccb3ac9011dd5f8a93f5 (diff)
fix network server
Diffstat (limited to 'src/core/netserver.cc')
-rw-r--r--src/core/netserver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/netserver.cc b/src/core/netserver.cc
index 2d59788..f004f83 100644
--- a/src/core/netserver.cc
+++ b/src/core/netserver.cc
@@ -567,7 +567,7 @@ void NetServer::parse_incoming_message(NetClient *client, const std::string & me
return;
}
- if (entity->type() == Entity::Controlable) {
+ if (entity->type() != Entity::Controlable) {
con_warn << client->host() << ":" << client->port() << " update for non-controlable entity " << id << "\n";
return;
}