From 5e3619aa3725833877f66c85977042130fc88c43 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 24 Jul 2008 10:18:18 +0000 Subject: fix network server --- src/core/netserver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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; } -- cgit v1.2.3