From b65bdee592340fec9568790b7de0aad5eda7200b Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Mon, 15 Oct 2012 00:48:05 +0000 Subject: [PATCH] - added more info to error message --- source/glest_game/world/world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/world/world.cpp b/source/glest_game/world/world.cpp index 57226d31..99389450 100644 --- a/source/glest_game/world/world.cpp +++ b/source/glest_game/world/world.cpp @@ -1518,7 +1518,7 @@ void World::initFactionTypes(GameSettings *gs) { } if(gs->getFactionCount() > map.getMaxPlayers()) { - throw megaglest_runtime_error("This map only supports "+intToStr(map.getMaxPlayers())+" players"); + throw megaglest_runtime_error("This map only supports "+intToStr(map.getMaxPlayers())+" players, factionCount is " + intToStr(gs->getFactionCount())); } //create stats