Fixing some ASN.1 related bugs. Playing a game works now, but there is still an issue when the lobby is started after the game.

This commit is contained in:
lotodore
2009-08-03 20:42:32 +00:00
parent 82ebd318d0
commit 9a8f2ae01a
6 changed files with 32 additions and 13 deletions
+4 -1
View File
@@ -61,8 +61,11 @@ ReceiverHelper::ScanPackets(ReceiveBuffer &buf)
LOG_ERROR(e.what());
}
}
if (tmpPacket.get())
if (tmpPacket)
{
//cerr << "IN:" << endl << tmpPacket->ToString() << endl;
buf.receivedPackets.push_back(tmpPacket);
}
else
dataAvailable = false;
} while(dataAvailable);