diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-24 10:18:18 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-24 10:18:18 +0000 |
commit | 5e3619aa3725833877f66c85977042130fc88c43 (patch) | |
tree | 70cc2db52ad60509bf092921de4426de59563aac /src/core | |
parent | aaa4ff61f7b17759c4f4ccb3ac9011dd5f8a93f5 (diff) |
fix network server
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/netserver.cc | 2 |
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; } |