fixed game list update bug, minor optimizations, restrict client protocol output to QT_DEBUG mode

This commit is contained in:
Max-Wilhelm Bruker
2012-04-06 17:52:23 +02:00
parent 118b575e58
commit ae19d3dc4b
13 changed files with 75 additions and 50 deletions

View File

@@ -129,7 +129,7 @@ void IslInterface::initServer()
Server_Room *room = roomIterator.next().value();
room->usersLock.lockForRead();
room->gamesMutex.lock();
event.add_room_list()->CopyFrom(room->getInfo(true, true, false, false));
room->getInfo(*event.add_room_list(), true, true, false, false);
}
IslMessage message;