Skip to content

Commit

Permalink
replace tabs with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
AllyTally committed Jan 18, 2023
1 parent e7a0fe1 commit 99e2120
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions desktop_version/src/CustomLevels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1816,15 +1816,15 @@ int customlevelclass::numtrinkets(void)

int customlevelclass::numcoins(void)
{
int temp = 0;
for (size_t i = 0; i < customentities.size(); i++)
{
if (customentities[i].t == 8 && inbounds(&customentities[i]))
{
temp++;
}
}
return temp;
int temp = 0;
for (size_t i = 0; i < customentities.size(); i++)
{
if (customentities[i].t == 8 && inbounds(&customentities[i]))
{
temp++;
}
}
return temp;
}

int customlevelclass::numcrewmates(void)
Expand Down
10 changes: 5 additions & 5 deletions desktop_version/src/Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5868,12 +5868,12 @@ bool Game::customsavequick(const std::string& savfile)
xml::update_tag(msgs, "collect", collect.c_str());

std::string coincollect;
std::set<int>::iterator iterator = obj.coincollect.begin();
std::set<int>::iterator iterator = obj.coincollect.begin();
while (iterator != obj.coincollect.end()) {
{
coincollect += help.String(*iterator) + ",";
iterator++;
}
{
coincollect += help.String(*iterator) + ",";
iterator++;
}
}
xml::update_tag(msgs, "coincollect", coincollect.c_str());

Expand Down
2 changes: 1 addition & 1 deletion desktop_version/src/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1963,7 +1963,7 @@ void mapclass::loadlevel(int rx, int ry)
obj.createentity(ex, ey, 3);
break;
case 8: // Coins
obj.createentity(ex, ey, 8, cl.findcoin(edi));
obj.createentity(ex, ey, 8, cl.findcoin(edi));
break;
case 9: // Trinkets
obj.createentity(ex, ey, 9, cl.findtrinket(edi));
Expand Down

0 comments on commit 99e2120

Please sign in to comment.