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:
parent
930e10ce16
commit
0be8586135
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user