mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
bugfixing:
- support for one more Russian localisation, fixes #1321 - fixed icon for level 1 town hall, #1294 - correct portraits for first heroes from mods, #1297 and probably #1298 And a lot of gcc compile fixes
This commit is contained in:
@ -103,7 +103,7 @@ std::string CLegacyConfigParser::readString()
|
||||
else
|
||||
ret = extractNormalString();//string without quotes - copy till \t or \r
|
||||
|
||||
curr++;
|
||||
curr++;
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -122,7 +122,7 @@ float CLegacyConfigParser::readNumber()
|
||||
return result;
|
||||
}
|
||||
|
||||
bool CLegacyConfigParser::isNextEntryEmpty()
|
||||
bool CLegacyConfigParser::isNextEntryEmpty() const
|
||||
{
|
||||
char * nextSymbol = curr;
|
||||
while (nextSymbol < end && *nextSymbol == ' ')
|
||||
@ -136,7 +136,7 @@ bool CLegacyConfigParser::endLine()
|
||||
while (curr < end && *curr != '\n')
|
||||
readString();
|
||||
|
||||
curr++;
|
||||
curr++;
|
||||
|
||||
return curr < end;
|
||||
}
|
||||
|
Reference in New Issue
Block a user