1
0
Fork 0

(svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway

release/1.2
smatz 2011-02-15 13:15:12 +00:00
parent d2d6b263b3
commit a5b9858a36
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::CloseConnection(NetworkRecvSta
/* We can't go over the MAX_CLIENTS limit here. However, the
* pool must have place for all clients and ourself. */
assert_compile(NetworkClientSocketPool::MAX_SIZE == MAX_CLIENTS + 1);
assert(ServerNetworkGameSocketHandler::CanAllocateItem());
assert(!accept || ServerNetworkGameSocketHandler::CanAllocateItem());
return accept;
}