From 99e2120ffc7099c56cce7392dcfd08fa297b97b5 Mon Sep 17 00:00:00 2001 From: AllyTally Date: Tue, 15 Nov 2022 00:19:46 -0400 Subject: [PATCH] replace tabs with spaces --- desktop_version/src/CustomLevels.cpp | 18 +++++++++--------- desktop_version/src/Game.cpp | 10 +++++----- desktop_version/src/Map.cpp | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/desktop_version/src/CustomLevels.cpp b/desktop_version/src/CustomLevels.cpp index 632b783c18..29b87f922a 100644 --- a/desktop_version/src/CustomLevels.cpp +++ b/desktop_version/src/CustomLevels.cpp @@ -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) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index cb3c15d45a..f1f374df48 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -5868,12 +5868,12 @@ bool Game::customsavequick(const std::string& savfile) xml::update_tag(msgs, "collect", collect.c_str()); std::string coincollect; - std::set::iterator iterator = obj.coincollect.begin(); + std::set::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()); diff --git a/desktop_version/src/Map.cpp b/desktop_version/src/Map.cpp index fad6da631c..fc2c2348d0 100644 --- a/desktop_version/src/Map.cpp +++ b/desktop_version/src/Map.cpp @@ -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));