Skip to content
Snippets Groups Projects
Commit 40d097cd authored by GabrielTofvesson's avatar GabrielTofvesson
Browse files

Replaced stray 'or' with ||

parent 8601a456
No related branches found
Tags 1.2.2
No related merge requests found
......@@ -106,7 +106,7 @@ CCTilePosition BuildingPlacer::getBuildLocationNear(const CCTilePosition & p, co
//double ms1 = t.getElapsedTimeInMilliSec();
// iterate through the list until we've found a suitable location
for (size_t i(0); i < closestToBuilding.size() && (search_count == 0 or i < search_count); ++i)
for (size_t i(0); i < closestToBuilding.size() && (search_count == 0 || i < search_count); ++i)
{
auto & pos = closestToBuilding[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment