Fixed network game bug which was introduced in the bugfix release by changing the id of the first game to 1.

This commit is contained in:
lotodore
2009-01-03 11:36:03 +00:00
parent 31d1b9a011
commit 618ed80e2d
+1 -1
View File
@@ -191,7 +191,7 @@ ClientThread::SendJoinFirstGame(const std::string &password)
// Create a network packet to request joining a game. // Create a network packet to request joining a game.
boost::shared_ptr<NetPacket> join(new NetPacketJoinGame); boost::shared_ptr<NetPacket> join(new NetPacketJoinGame);
NetPacketJoinGame::Data joinData; NetPacketJoinGame::Data joinData;
joinData.gameId = 0; joinData.gameId = 1;
joinData.password = password; joinData.password = password;
try try
{ {