1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

* removed unnecessary include in .h -- they should be avoided

* fixed bug 1074
* fixed starting new custom campaign
* fixed building of ERM project
This commit is contained in:
mateuszb
2012-09-18 15:06:29 +00:00
parent 20b54a39b6
commit aa04a5bcd0
4 changed files with 5 additions and 8 deletions

View File

@ -383,9 +383,8 @@ void CGeneralTextHandler::load()
do
{
text = parser.readString();
parser.endLine();
if (!text.empty())
campaignMapNames.push_back(parser.readString());
campaignMapNames.push_back(text);
}
while (parser.endLine() && !text.empty());
@ -401,9 +400,8 @@ void CGeneralTextHandler::load()
do
{
text = parser.readString();
parser.endLine();
if (!text.empty())
campaignRegionNames.back().push_back(parser.readString());
campaignRegionNames.back().push_back(text);
}
while (parser.endLine() && !text.empty());
}