From 1a7f3d50ca171fe8fe81aa638684959b8d775d6e Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 6 Oct 2012 00:37:21 +0000 Subject: [PATCH] - bugfix for broadcast override --- source/glest_game/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 21887246..0fcbedfa 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -3204,7 +3204,7 @@ int glestMain(int argc, char** argv) { Config &config = Config::getInstance(); setupGameItemPaths(argc, argv, &config); - Socket::setBroadCastPort(config.getBool("BroadcastPort",boolToStr(Socket::getBroadCastPort()).c_str())); + Socket::setBroadCastPort(config.getInt("BroadcastPort",intToStr(Socket::getBroadCastPort()).c_str())); Socket::disableNagle = config.getBool("DisableNagle","false"); if(Socket::disableNagle) {