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:
@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user