From 9d5800ff2057a4882b8e390741b51eaeb41c3bcc Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 3 Aug 2009 22:26:45 +0000 Subject: [PATCH] Fixing game list issue where game was not shown as running. --- src/net/common/clientstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 9a69b9ec..f17df4c8 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -833,7 +833,7 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien } tmpInfo.adminPlayerId = netListNew->adminPlayerId; tmpInfo.isPasswordProtected = netListNew->isPrivate ? true : false; - tmpInfo.mode = GAME_MODE_CREATED; + tmpInfo.mode = static_cast(netListNew->gameMode); tmpInfo.name = STL_STRING_FROM_OCTET_STRING(netListNew->gameInfo.gameName); NetPacket::GetGameData(&netListNew->gameInfo, tmpInfo.data);