mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Fix indentation of logging code and around it
That wouldn't be as big issue if problem affected few files, but it everywhere in codebase. Fixed it everywhere since in most files that is the only code with wrong indentation.
This commit is contained in:
@@ -80,7 +80,7 @@ std::vector<BattleHex> CObstacleInfo::getBlocked(BattleHex hex) const
|
||||
toBlock += BattleHex::LEFT;
|
||||
|
||||
if(!toBlock.isValid())
|
||||
logGlobal->errorStream() << "Misplaced obstacle!";
|
||||
logGlobal->errorStream() << "Misplaced obstacle!";
|
||||
else
|
||||
ret.push_back(toBlock);
|
||||
}
|
||||
@@ -577,7 +577,7 @@ ui64 CHeroHandler::reqExp (ui32 level) const
|
||||
}
|
||||
else
|
||||
{
|
||||
logGlobal->warnStream() << "A hero has reached unsupported amount of experience";
|
||||
logGlobal->warnStream() << "A hero has reached unsupported amount of experience";
|
||||
return expPerLevel[expPerLevel.size()-1];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user