1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00

Improve indentation of loadLevelFile

This commit is contained in:
Daniel Evans 2016-09-07 01:24:48 +01:00
parent 930e10ce16
commit 0be8586135

View File

@ -73,9 +73,9 @@ void GameData::loadLevelFile(const std::string& path)
if(!datfile.is_open())
{
logger->error("Data", "Failed to open game file " + path);
return;
}
else
{
for(std::string line, cmd; std::getline(datfile, line);)
{
if(line.size() == 0 || line[0] == '#') continue;
@ -118,7 +118,6 @@ void GameData::loadLevelFile(const std::string& path)
}
}
}
}
void GameData::loadIDE(const std::string& path)
{